If a Linux machine locks up or freezes completely, use REISUB to restart it more gently than pushing the Power Button.
Hold down Alt
and the SysReq
(Print Screen
) keys, and then type R
E
I
S
U
B
, with 2-3 second delays between the key presses to give the commands a better chance to complete.
R
: Switch the keyboard from raw mode to XLATE modeE
: Send the SIGTERM signal to all processes except initI
: Send the SIGKILL signal to all processes except initS
: Sync all mounted filesystems