Reference:
- http://www.linuxfly.org/post/545/
- Http://www.jb51.net/article/13525.htm
Practice:
- Rainy day
Echo " 1 " >/proc/sys/kernel/sysrq
- Aftermath in
the event of a malfunction, and SYSRQ is open, and the keyboard is responsive (this means that kernel is not completely dead). You can use SYSRQ Dafa to invoke the relevant functionality in a standard QWERTY keyboard using the "alt+sysrq+ function Key" method.
Common function Key combinations:
R:switch the keyboard from raw mode to XLATE mode. Grab keyboard control from X Server (Unraw)
E:send the SIGTERM signal to all processes except init. Send SIGTERM signals to all processes to resolve their own aftermath (TErminate)
I:send the SIGKILL signal to all processes except init. Send SIGKILL signals to all processes and force them to close immediately (KILL)
S:sync all mounted file systems (IMPORTANT). Sync all data to disk (sync)
U:remount all mounted the file systems in Read-only mode. Mount all partitions as read-only mode (unmount)
b:immediately reboot the system, without un-mounting partitions or syncing. Restart (reBoot)
The SYSRQ of Ledge under Linux