ID #1004

How to "hard" reboot a server?

your server is still able to login you via ssh but doesn´t do anything about the reboot command?

Well, you can try this little c programm, compile it and just start it afterwards:

#include <stdio.h>
#include <unistd.h>
#include <linux/reboot.h>

void main () {
reboot(LINUX_REBOOT_CMD_RESTART);
}

Tags: -

Related entries:

You cannot comment on this entry