# HG changeset patch # User Oleksandr Gavenko # Date 1267992935 -7200 # Node ID 88d85b45d17c40e5f79d4ad693366f7f172ef7da # Parent 80247baf4f55115e472fd08c7712c6490dc234b6 SysRq. diff -r 80247baf4f55 -r 88d85b45d17c linux.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux.rst Sun Mar 07 22:15:35 2010 +0200 @@ -0,0 +1,21 @@ +-*- mode: outline; coding: utf-8 -*- + +* SysRq. + + x86: ALT-SysRq- + SPARC: ALT-STOP- + PPC: ALT - Print Screen (or F13) - + + 'b' - reboot + 'p' - dump the current registers and flags to your console + 'r' - take control of keyboard back from X + 'e' - send SIGTERM to all processes, except for init + 'i' - send SIGKILL to all processes, except for init + 's' - attempt to sync all mounted filesystems + 'u' - remount all filesystems read-only + + $ echo 0 > /proc/sys/kernel/sysrq # disable + $ echo 1 > /proc/sys/kernel/sysrq # enable + + http://www.kernel.org/doc/Documentation/sysrq.txt + Linux Magic System Request Key Hacks