sysrq

Search tags:

  • Sys Request
  • sysrq
  • Alt+SysRq
    • SysRq may be released before pressing the command key, as long as Alt remains held down.
  • REISUB

Emergency reboot from keyboard

REISUB

  • R - Switch the keyboard from raw mode, used by programs such as X11 and SVGAlib, to XLATE mode
  • E - Send the SIGTERM signal to all processes except init (PID 1)
  • I - Send the SIGKILL signal to all processes except init
  • S - Sync all mounted filesystems
  • U - Remount all mounted filesystems in read-only mode
  • B - Immediately reboot the system, without unmounting or syncing filesystems

Emergency reboot from console

echo 1 > /proc/sys/kernel/sysrq 
echo s > /proc/sysrq-trigger
echo u > /proc/sysrq-trigger
echo b > /proc/sysrq-trigger