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.


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!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s