摘要: IPMI 方法 上面几种方法都不能用?如果你的主板刚好支持 IPMI 管理接口的话,那可以直接通过 IPMI 实现硬件上的强制关机或重启。 首先加载 IPMI 支持: 1 [root@localhost ~]# modprobe ipmi_msghandler ipmi_devintf ipmi_s 阅读全文
posted @ 2021-12-28 14:43 Boks 阅读(380) 评论(0) 推荐(0) 编辑
摘要: linux 内核态重启接口 头文件 <linux/reboot.h> 源文件 kernel/reboot.c 调用接口 /** * orderly_reboot - Trigger an orderly system reboot * * This may be called from any co 阅读全文
posted @ 2021-12-28 14:41 Boks 阅读(391) 评论(0) 推荐(0) 编辑
摘要: linux系统花样重启 Linux强制重启 Linux使用shutdown -r now 或者 reboot、init 6 命令无法重启时使用以下两条命令可强制重启: echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger 1./pr 阅读全文
posted @ 2021-12-28 14:40 Boks 阅读(70) 评论(0) 推荐(0) 编辑