( Or: If All Else Fails )
In addition to the PID story in Run-Away Processes
If all is blocked and even Ctrl+Alt+backspace ( what should be a last
resort ) does not react, if your system does not react on any action (
like I said before, very rare in Linux ) remember the next line:
Here is how you "raise the elephant":
Alt+SysRq+r ( The LEFT
Alt key ) ( SysRq is on the same button as print screen )
Give a little time between keystrokes.
stands for put keyboard
in raw mode
for sync the disk
for terminate all
for kill all processes
for remount all
filesystems read only
for reboot the system
THIS IS THE VERY LAST SAVE YOUR BUTT PROCEDURE ! ONLY IF ALL ELSE FAILS
If your filesystem is Ext3 or ReiserFS and on reboot it wants you to do
a filesystem check, don't touch any key
when it asks you to press "Y" and
let it recover the journal automatically.
NOTE: For the skinny elephants to work you need to have the sysrq-key enabled in the kernel. (CONFIG_MAGIC_SYSRQ)
You can check if it is enabled by typing "cat /proc/sys/kernel/sysrq", if the command returns "1" the sysrq-key is enabled.
If it returns "0" you can enable it with "echo 1 > /proc/sys/kernel/sysrq"
-- Apr 22 2003 ( Revised Aug 25 2009 ) --