Tips for Hard Reboot Linux from Remote SSH
Submitted by hswong3i on Fri, 2012-11-09 15:52
For example you only have remote SSH access to a Linux, but running "reboot" command doesn't work, what can you do?
Run following command for hard reboot:
echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger
Or running this for hard shutdown:
echo 1 > /proc/sys/kernel/sysrq echo o > /proc/sysrq-trigger
NOTE: By running above command no service shutdown script will be execute, not even any disk I/O write back, so only use it for critical issue.
- hswong3i's blog
- 1190 reads


Add new comment