Re: Forcing an immediate reboot

From: Randy.Dunlap
Date: Fri Oct 14 2005 - 20:55:59 EST


On Fri, 14 Oct 2005 18:46:46 -0700 Marc Perkel wrote:

> Is there any way to force an immediate reboot as if to push the reset
> button in software? Got a remote server that i need to reboot and
> shutdown isn't working.

What kernel version?
Does it have sysrq enabled?

If 2.6.x and Yes, then you should be able to do:
echo b > /proc/sysrq-trigger

to cause a reboot.

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/