Skip to main content

SysRq

Reference

How to use SysRq

Hold Alt, press SysRq, press <command key>, press <command key>, ...

echo <command key> > /proc/sysrq-trigger

Command key

CommandFunction
bReboot
eSend a SIGTERM to all processes, except for init.
hHelp
iSend a SIGKILL to all processes, except for init.
oPower off
rTurns off keyboard raw mode and sets it to XLATE.
sWill attempt to sync all mounted filesystems.
uWill attempt to remount all mounted filesystems read-only.

Disable SysRq

echo 0 > /proc/sys/kernel/sysrq

Enable all function of SysRq

echo 1 > /proc/sys/kernel/sysrq

Reboot

Alt + SysRq + r + e + k + s + u + b