当前位置: 首页 >> 榆树网-系统 >> 文章正文

远程按机箱上的Reset键-Remotely Force a Reboot

by Gavin W. Burris

If you need to remotely hard-reset your Linux system because of a read-only file system, try Magic SysRq:

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

This will enable SYSRQ and power cycle the system, like hitting the reset button. This is obviously a last resort, only when a clean shutdown will not work.

相关文章

发表评论