SysRq Key to the Rescue!

By | 2010/07/20

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

Leave a Reply

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

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