Monday, August 1, 2016

Force Reboot/Shutdown Linux Box

I had a linux box that would just not shutdown/reboot and I didn't have physical access.   After some searching, I found the following blog and commands.

Reboot


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


Shutdown


  • echo 1 > /proc/sys/kernel/sysrq 
  • echo o > /proc/sysrq-trigger


This worked perfectly for my needs

No comments:

Post a Comment