Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Andrey Khavryuchenko                 2:5020/400     26 Aug 2001  11:10:51
 To : Alexander Stavitsky
 Subject : Re: Magic sysrq key kernel module
 -------------------------------------------------------------------------------- 
 
 Alexander,
 
 "AS" == Alexander Stavitsky wrote:
 
  AK> Hе нaтыкaлся ли кто-либо нa модуль, который регистрируется кaк SysRq
  AK> handler и при нaжaтии этой сaмой magic key делaл примерно следующее:
  AK> - переключaл экрaн в текстовый режим
  AK> - покaзывaл бы список процессов
  AK> - позволял бы убить любой процесс
 
  AS> RTFM... (usr/src/~linux/Documents)
 
 умнО.  Что именно читать?
 
 $ rpm -q kernel
 kernel-2.2.19-7.0.1
 $ find /usr/src/linux/Documentation/ -type f -exec grep -il sysrq {} \;
 /usr/src/linux/Documentation/00-INDEX
 /usr/src/linux/Documentation/Configure.help
 /usr/src/linux/Documentation/sysrq.txt
 $ cat /usr/src/linux/Documentation/sysrq.txt
 [...]
 *  What are the 'command' keys?
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 'r'     - Turns off keyboard raw mode and sets it to XLATE.
 
 'k'     - Kills all programs on the current virtual console.
 
 'b'     - Will immediately reboot the system without syncing or unmounting
           your disks.
 
 'o'     - Will shut your system off (if configured and supported).
 
 's'     - Will attempt to sync all mounted filesystems.
 
 'u'     - Will attempt to remount all mounted filesystems read-only.
 
 'p'     - Will dump the current registers and flags to your console.
 
 't'     - Will dump a list of current tasks and their information to your
           console.
 
 'm'     - Will dump current memory info to your console.
 
 '0'-'9' - Sets the console log level, controlling which kernel messages
           will be printed to your console. ('0', for example would make
           it so that only emergency messages like PANICs or OOPSes would
           make it to your console.)
 
 'e'     - Send a SIGTERM to all processes, except for init.
 
 'i'     - Send a SIGKILL to all processes, except for init.
 
 'l'     - Send a SIGKILL to all processes, INCLUDING init. (Your system
           will be non-functional after this.)
 [...]
 
 Где здесь сказано про номера 1 и 3 из моего списка?
 
 -- 
 Andrey V Khavryuchenko          http://kds.com.ua/
 Offshore Software Development   http://kds.com.ua/akhavr
 --- ifmail v.2.15dev5
  * Origin: KDS Software Group (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Magic sysrq key kernel module   Andrey Khavryuchenko   23 Aug 2001 22:52:09 
 Magic sysrq key kernel module   Alexander Stavitsky   25 Aug 2001 02:09:15 
 Re: Magic sysrq key kernel module   Andrey Khavryuchenko   26 Aug 2001 11:10:51 
 Magic sysrq key kernel module   Alexander Stavitsky   27 Aug 2001 13:35:40 
 Re: Magic sysrq key kernel module   Andrey Khavryuchenko   28 Aug 2001 12:21:46 
 Magic sysrq key kernel module   Alexander Stavitsky   30 Aug 2001 01:27:26 
 Re: Magic sysrq key kernel module   Andrey Khavryuchenko   31 Aug 2001 12:02:35 
Архивное /ru.linux/15464fb0025c9.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional