Force linux server reset commands, when reboot does not work

Rare, but happens, that servers hang. And even more rare that they don’t respond on reboot commands. And what if you are out hiking with your family in the beautiful place? Would you cancel your trip just because you need to reboot a server? No, use these 2 simple commands to kill and reset it in a really hard way…

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

Leave a Reply

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