# HG changeset patch # User Oleksandr Gavenko # Date 1335257973 -10800 # Node ID b387f62860307be46ff1395d8e1054d2a09ae8fb # Parent d21e0494c3ce2e960fc2cc683fffb09ebb68b88f http://distrowatch.com/ diff -r d21e0494c3ce -r b387f6286030 linux.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux.rst Tue Apr 24 11:59:33 2012 +0300 @@ -0,0 +1,40 @@ +.. -*- coding: utf-8 -*- + +======== + Linux. +======== +.. contents:: + +Linux distro. +============= + + http://distrowatch.com/ + Comparing Linux distros. + +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 + +You can put one of such line:: + + $ echo 0 > /proc/sys/kernel/sysrq # disable + $ echo 1 > /proc/sys/kernel/sysrq # enable + +to your /etc/rc.local or alternativaly place under /etc/sysctl:: + + kernel.sysrq = 1 + + http://www.kernel.org/doc/Documentation/sysrq.txt + Linux Magic System Request Key Hacks