Anecdotes from a Linux Systems Administrator. /root

Home About Books Blog Portfolio Archive
22 March 2014

Emergency reboot in Linux via SysRq

by Alpha01

When your Linux system has completely shit itself, and an emergency reboot needs to be made. Linux Magic System Request Keys to the rescue.

[root@server1 ~]# echo "1" > /proc/sys/kernel/sysrq
[root@server1 ~]# echo "b" > /proc/sysrq-trigger


Tags: [ monitoring ]