Magic SysRq
SysRq is usually Print Screen in keyboard.
Ctrl+Z: pause a process (plusbgto resume in the background,fgto raise to foreground)Ctrl+C: politely ask the process to shut down nowCtrl+\: mercilessly kill the process that is currently in the foreground
Push each key sequentially.
Alt+SysRq+s: Write data to disk (always do this before killing anything important)Alt+SysRq+s, k: mercilessly kill all current processes on a given virtual consoleAlt+SysRq+s, b: mercilessly reboot without unmounting,Alt+SysRq+r, e, i, s, u, b: Safely reboot even if the system is utterly broken