今天小编给大家带来的是HALT如何停止机器运行,希望能帮助到大家!
工具/原料
1
PC
2
HALT
方法/步骤
1
halt命令可以停止系统运行,但不关闭电源;poweroff命令也可实现关机,同时关闭电源。它们两个都是调用shutdown命令来进行的,reboot可以将机器重启。
2
常用方式格式:halt格式:shutdown -h停止系统运行,但不关闭电源。
3
格式:poweroff停止系统运行,同时关闭电源。格式:reboot重启系统。
4
Sending all processes the TERM singal ... [ OK ]Sending all processes the KILL singal ... [ OK ]Syncing hardware clock to system time [ OK ]Turning off swap: [ OK ]
5
Turning off quotas: [ OK ]Unmounting file systems: [ OK ]Halting system...md: stopping all md devices flushing ide devices: hdcSystem halted.
注意事项
1
本人所发表的都是原创经验,请大家坚持原创,不要抄袭。
2
大家也可以给我留言,我会为大家一一解答的。
下一篇:重启能解决服务器宕机的问题吗?