Everything2
Near Matches
Ignore Exact
Full Text
Everything2

Magic SysRq Key

created by nutate

(thing) by nutate (3 wk) (print)   ?   (I like it!) 1 C! Wed Mar 22 2000 at 22:46:14

Perhaps the greatest kernel compile option ever. Yeah umm I'm talking 'bout a linux kernel here. So you just recompiled your kernel with it or maybe it was there in the first place... anyway, it is very helpful when everything goes to crap and you can't seem to do anything.

Of course if your NumLock light won't change when you hit NumLock, you are prolly screwed. Most of this is all written up in linux/Documentation/sysrq.txt. Read that. Then if all has gone to hell on your system, and you really just wanna reboot do this and you won't see any fscking up.

Invoke the magic SysRq key with alt sysrq and then each of the following, in order and waiting for your disks to stop spinning between each:
E -- terminate all processes (SIGTERM)
I -- kills all processes (SIGKILL)
S -- syncs
U -- mounts fs's readonly
B -- reboots

There you go, system rebooted uptime lost, but who cares, right?

r and k are good keys for when a graphical (svgalib or X) crashes.

Like I said, read the sysrq.txt for the full details.

Oh yeah, I semi snarfled most of this from a /. comment attached to http://slashdot.org/articles/99/05/20/0239226.shtml by Dwonis. Thanks.


printable version
chaos

SysRq scroll lock Fscking Magic smoke
uptime Searching E2 from a Mozilla location bar Ali G Indahouse prolly
caffeine-free kernel hacker Tab Key The stability of Windows NT
Linux kernel SIGTERM /. fsck
kernel hacking svgalib Pokey Offline key
Everything2 is in direct violation of US Patent No. 6,031,537 Sackbut Linux Tips ( circa 1999 ) camouflage
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Nodes your grandpa would have liked:
Crazy Eddie
How your brain works
John Wayne Gacy, Jr.
A message from sensei
Yes! We have no bananas!
Fast Food Nation
High school can kill you
Seven Wonders of the Ancient World
Slaughterhouse tour, or Why I'm no longer a lawyer
Buffy the Vampire Slayer
Exercises for the Abdominals
Watching Robyn Hitchcock
Requiem for a Dream
New Writeups
BookReader
Fear the Cold(dream)
Pavlovna
Kathleen MacInnes(person)
stainedglass
1(fiction)
kalen
Three "T"s(idea)
octillion369
Undead(idea)
archiewood
Ico(fiction)
Heisenberg
Why I love Everything2(log)
octillion369
Death Knight(person)
XWiz
Are you hoping for a miracle?(review)
santo
The Host(review)
LostPsion
"Shut the Fuck Up" Theaters(idea)
beatrice
You've been slowly taking me over for nearly a year, do you know that?(idea)
Berek
YouTube(thing)
shaogo
How to Pretend to Have a Job(idea)
hapax
Les Provinciales(review)
This page courtesy of The Everything Development Company