SysRq Key to the Rescue!

Published on July 20, 2010, by in linux, sysadmin.




That odd SysRq key (short for System Request) on your keyboard is actually very useful in Linux. Most laptops today have removed that key, but if you have a desktop or server with this available, keep this cheat sheet handy:

Credit:

http://en.wikipedia.org/wiki/Magic_SysRq_key


Press Alt+SysRq+ one of the following keys to give some life to your seemingly locked up Linux machine. These are just a few possible commands:

R: (take control of keyboard back from X)
E: (send SIGTERM to all processes, terminate gracefully)
I: (send SIGKILL to all processes, terminate immediately)
S: (flush data to disk)
U: (remount all filesystems read-only)
B: reboot



No related posts.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Home linux SysRq Key to the Rescue!
© Copyleft scottlinux.com CC BY-SA 3.0