meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:kernel:sysrq [2021/05/10 18:02] – created niziaklinux:kernel:sysrq [2023/08/03 09:20] (current) niziak
Line 1: Line 1:
 ====== sysrq ====== ====== 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 ===== ===== Emergency reboot from console =====
Line 6: Line 23:
 echo 1 > /proc/sys/kernel/sysrq  echo 1 > /proc/sys/kernel/sysrq 
 echo s > /proc/sysrq-trigger echo s > /proc/sysrq-trigger
 +echo u > /proc/sysrq-trigger
 echo b > /proc/sysrq-trigger echo b > /proc/sysrq-trigger
 </code> </code>