equal
deleted
inserted
replaced
|
1 .. -*- coding: utf-8; -*- |
|
2 .. include:: HEADER.rst |
|
3 |
|
4 ======== |
|
5 Linux. |
|
6 ======== |
|
7 .. contents:: |
|
8 |
|
9 Linux distro. |
|
10 ============= |
|
11 |
|
12 http://distrowatch.com/ |
|
13 Comparing Linux distros. |
|
14 |
|
15 SysRq. |
|
16 ====== |
|
17 :: |
|
18 |
|
19 x86: ALT-SysRq-<command key> |
|
20 SPARC: ALT-STOP-<command key> |
|
21 PPC: ALT - Print Screen (or F13) - <command key> |
|
22 |
|
23 'b' - reboot |
|
24 'p' - dump the current registers and flags to your console |
|
25 'r' - take control of keyboard back from X |
|
26 'e' - send SIGTERM to all processes, except for init |
|
27 'i' - send SIGKILL to all processes, except for init |
|
28 's' - attempt to sync all mounted filesystems |
|
29 'u' - remount all filesystems read-only |
|
30 |
|
31 You can put one of such line:: |
|
32 |
|
33 $ echo 0 > /proc/sys/kernel/sysrq # disable |
|
34 $ echo 1 > /proc/sys/kernel/sysrq # enable |
|
35 |
|
36 to your /etc/rc.local or alternativaly place under /etc/sysctl:: |
|
37 |
|
38 kernel.sysrq = 1 |
|
39 |
|
40 http://www.kernel.org/doc/Documentation/sysrq.txt |
|
41 Linux Magic System Request Key Hacks |