Mailinglist Archive: opensuse-features (110 mails)

< Previous Next >
[New: openFATE 313173] Better GUI for ENABLE_SYSRQ
Feature added by: Christopher Yeleighton (yecril71pl)

Feature #313173, revision 1
Title: Better GUI for ENABLE_SYSRQ

openSUSE Distribution: Unconfirmed
Requester: Desirable

Requested by: Christopher Yeleighton (yecril71pl)
Partner organization:

Currently, YaST2 allows to specify a number for sysconfig kernel ENABLE_SYSRQ.
It should provide check boxes for individual flags instead. In the mean time,
The following script will unscramble the current setting: let
R="$(</proc/sys/kernel/sysrq)" if let R==1 then echo all else for K in logging
keyboard dumps sync remount signalling reboot nicing do let '(R>>=1)&1' && echo
$K done fi The following code will print the default setting:

let L=2 'K=L<<1' 'D=K<<1' 'C=D<<1' 'M=C<<1' 'G=M<<1' 'B=G<<1' 'N=B<<1'
'R=C|M|B' echo $R

Use Case:
The operator observes that the system becomes unresponsive because a process
(such as gdb, which can easily slip out of control) is using too much RAM. The
X server is not responding because of that. The operator wants to configure the
kernel so that it can use the keyboard shortcut [Alt SysRq F] to kill the
memory hog.

Business case (Partner benefit): Because manual scrambling and unscrambling is inconvenient.
Manual killing of excessive processes is easier than restarting the whole
system by means of [Ctrl Alt F1] [Ctrl Alt Delete], and may save the operator
some data loss.

openSUSE Feature:

< Previous Next >
List Navigation