Tag Archives: sysrq

SysRq – System Request

People use `Print Screen’ button for taking screenshots, but very few of them notice ‘SysRq’ written on that button.

Our GNU/Linux system makes use of this ‘SysRq’ button.

Continue reading if you don’t know how…

Raising Skinny Elephants Is Utterly Boring.
This is a mnemonic device to remember the sequence.

Press

Alt + SysRq + <R> => unRaw

Alt + SysRq + <S> => Sync

Alt + SysRq + <E> => tErm

Alt + SysRq + <I> => kIll

Alt + SysRq + <U> => Unmount

Alt + SysRq + <B> => reBoot

The magic SysRq key is very handy tool… when your GNU/Linux system hangs…
SysRq key assures no data loss, no currupted partitions and a safe reboot

To use SysRq, support for this magic key must be enabled in kernel.
If it is enabled in kernel, you can use it in virtual console.

To use SysRq with Xserver you need to edit 2 files as a Superuser or root

Edit /etc/sysctl.conf

# vim /etc/sysctl.conf

And enter following line

kernel.sysrq = 1

Then edit /proc/sys/kernel/sysrq

# echo ‘1’ > /proc/sys/kernel/sysrq

That’s it!

Advertisements