Provided by: manpages-zh_1.5.2-1.1_all 

NAME
halt, reboot, poweroff - 中止系統運行
SYNOPSIS
/sbin/halt [-n] [-w] [-d] [-f] [-i] [-p] /sbin/reboot [-n] [-w] [-d] [-f] [-i] /sbin/poweroff [-n] [-w] [-d] [-f] [-i]
描述
Halt 將系統正在關機的信息寫入 /var/log/wtmp 檔案,然後通知核心停止重啟或關機系統。 如果 halt 或 reboot 是 在系統 沒有 運行在運行級別 0 或 6 , 系統將調用 shutdown(8) 命令(使用參數 -h 或 -r )。
選項
-n 在關機或重啟之前不對系統緩存進行同步。 -w 不真正重啟或關機,而僅僅將關機信息寫入 wtmp (在 /var/log/wtmp 檔案裏)。 -d 不記錄此次關機情況。當使用 -n 參數時隱含 -d。 -f 強制執行 halt 或 reboot 而不去調用 shutdown(8)。 -i 在關閉或重啟系統之前關閉所有網路界面。 -p 當關閉系統時執行關閉電源操作。當以 poweroff 方式調用 halt 時,此為預設參數。
DIAGNOSTICS
If you're not the superuser, you will get the message `must be superuser'.
注意
在先前的 sysvinit 發佈中,reboot 和 halt 不能直接調用。 從版本 2.74 開始,當系統不是運行在運行級別0或6的 時侯,執行 halt 和 reboot 後實際調用的是 shutdown(8) 。 這就意味著如果在當前運行級別的環境中無法找到 halt 或 reboot 的時候(比如,在 /var/run/utmp 還沒有正確初始化的時候),將會調用 shutdown,這個結果也許 非你所想。 如果你想做一此硬的 halt 或 reboot,那麼使用 -f 參數。
作者
Miquel van Smoorenburg, miquels@cistron.nl
參見
shutdown(8), init(1)
[中文版維護人]
所羅門 <solomen@email.com.cn>
[中文版最新更新]
2001/05/01
《中國Linux論壇man手冊頁翻譯計劃》:
http://cmpp.linuxforum.net Aug 24, 1999 HALT(8)