关机手册页中的“要求系统关闭后停止”是什么意思?

关机手册页中的“要求系统关闭后停止”是什么意思?

今天看shutdown的man page的时候,搞得我一头雾水,就拿-H来说吧,就是搞不懂“after it has been broken down”是什么意思?“be been broken down”是什么意思?

OPTIONS
       -r     Requests that the system be rebooted after it has been brought down.
       -h     Requests that the system be either halted or powered off after it has been brought down, with the choice as to which left up to the system.
       -H     Requests that the system be halted after it has been brought down.
       -P     Requests that the system be powered off after it has been brought down.
       -c     Cancels a running shutdown.  TIME is not specified with this option, the first argument is MESSAGE.
       -k     Only send out the warning messages and disable logins, do not actually bring the system down.

答案1

“已关闭”是指关闭进程。shutdown 命令会触发一个运行级别,告知所有已配置的服务关闭,以便系统可以安全地重新启动、暂停等。“已关闭”是指停止和终止正在运行的进程的过程。

相关内容