Linux Administrator - Immediate Linux Reboot

Linux Administrator

Privacy Policy

RSS Feed

Acoustic Guitar Tips
Anna Kendrick
Beekeeping Tips
Catherine Zeta Jones
My View On Things
Cheap Auto Insurance
Cheap Places to Live
Delta Shaper
Easy Wood Projects
Felicity Jones
Free Sheet Music
Funny Clean Jokes
Healthy Carbs
Heidi Klum
Improve Your Credit
Ivory Tower Group
Keke Palmer
Linda Ronstadt
Linux Administrator
Money Spigot
Nicole Kidman
Planet Cabinet
Quality Dating Advice
Rustic Cabinets
Sacramento Hiking
Sandra Bullock
Spintax Tool
The Actress
Tristan Prettyman
Viola Davis
Who Are The Beatles

Immediate Linux Reboot

Immediate Linux Reboot

What do you do when you have a process hung and the server won't reboot? What if you just want to reboot the thing and shutdown doesn't work? If you can get to the root command line, issue these two commands:

echo 1 > /proc/sys/kernel/sysrq 
echo b > /proc/sysrq-trigger

This is basically the same as hitting the reset button on the server. It will cause the computer to immediately reboot. Once the server comes back up, you might want to perform an fsck to be on the safe side:

shutdown -rF 0

Return To Main Page