成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

poweroff 中文man頁面

系統
Halt 將系統正在關機的信息寫入 /var/log/wtmp 文件,然后通知內核停止重啟或關機系統。如果 halt 或 reboot 是在系統 沒有 運行在運行級別 0 或 6 ,系統將調用 shutdown(8) 命令(使用參數 -h 或 -r )。

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 文件,然后通知內核停止重啟或關機系統。如果 haltreboot 是在系統 沒有 運行在運行級別 06 ,系統將調用 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 發布中,reboothalt 不能直接調用。從版本 2.74 開始,當系統不是運行在運行級別0或6的時侯,執行 haltreboot 后實際調用的是 shutdown(8) 。這就意味著如果在當前運行級別的環境中無法找到
 halt 或 reboot 的時候(比如,在 /var/run/utmp  還沒有正確初始化的時候),將會調用 shutdown,這個結果也許非你所想。如果你想做一此硬的 haltreboot,那么使用 -f 參數。

作者

Miquel van Smoorenburg, miquels@cistron.nl  

參見

shutdown(8), init(1)  

#p#

NAME

halt, reboot, poweroff - stop the system.  

SYNOPSIS

/sbin/halt [-n] [-w] [-d] [-f] [-i] [-p] [-h]
/sbin/reboot [-n] [-w] [-d] [-f] [-i]
/sbin/poweroff [-n] [-w] [-d] [-f] [-i] [-h]  

DESCRIPTION

Halt notes that the system is being brought down in the file /var/log/wtmp, and then either tells the kernel to halt, reboot or poweroff the system.

If halt or reboot is called when the system is not in runlevel 0 or 6, in other words when it's running normally, shutdown will be invoked instead (with the -h or -r flag). For more info see the shutdown(8) manpage.

The rest of this manpage describes the behaviour in runlevels 0 and 6, that is when the systems shutdown scripts are being run.  

OPTIONS

-n
Don't sync before reboot or halt.
-w
Don't actually reboot or halt but only write the wtmp record (in the /var/log/wtmp file).
-d
Don't write the wtmp record. The -n flag implies -d.
-f
Force halt or reboot, don't call shutdown(8).
-i
Shut down all network interfaces just before halt or reboot.
-h
Put all harddrives on the system in standby mode just before halt or poweroff.
-p
When halting the system, do a poweroff. This is the default when halt is called as poweroff.

DIAGNOSTICS

If you're not the superuser, you will get the message `must be superuser'.  

NOTES

Under older sysvinit releases , reboot and halt should never be called directly. From release 2.74 on halt and reboot invoke shutdown(8) if the system is not in runlevel 0 or 6. This means that if halt or reboot cannot find out the current runlevel (for example, when /var/run/utmp hasn't been initialized correctly) shutdown will be called, which might not be what you want. Use the -f flag if you want to do a hard halt or reboot.

The -h flag puts all harddisks in standby mode just before halt or poweroff. Right now this is only implemented for IDE drives. A side effect of putting the drive in standby mode is that the write cache on the disk is flushed. This is important for IDE drives, since the kernel doesn't flush the write-cache itself before poweroff.

The halt program uses /proc/ide/hd* to find all IDE disk devices, which means that /proc needs to be mounted when halt or poweroff is called or the -h switch will do nothing.

AUTHOR

Miquel van Smoorenburg, miquels@cistron.nl  

SEE ALSO

shutdown(8), init(8)

責任編輯:韓亞珊 來源: CMPP.net
相關推薦

2011-08-15 10:21:09

man中文man

2011-08-24 16:48:36

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-11 15:03:21

ACCESS中文man

2011-08-11 15:28:43

ali中文man

2011-08-11 16:31:49

biff中文man

2011-08-11 17:16:43

cce中文man

2011-08-11 18:05:04

chvt中文man

2011-08-11 18:13:07

clear中文man

2011-08-12 09:13:02

df中文man

2011-08-12 09:38:06

dircolors中文man

2011-08-12 09:44:37

dirname中文man

2011-08-12 10:20:02

echo中文man

2011-08-12 10:25:55

eject中文man

2011-08-12 11:07:19

git中文man

2011-08-12 13:18:19

head中文man

2011-08-12 13:49:23

hostid中文man

2011-08-12 13:54:46

hostname中文man

2011-08-12 14:53:56

kill中文man
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 国产精品亚洲欧美日韩一区在线 | 色五月激情五月 | av在线视| 亚洲欧美一区二区三区情侣bbw | 91精品国产综合久久国产大片 | 国产一区亚洲二区三区 | 99久久精品国产一区二区三区 | 久久精品亚洲一区二区三区浴池 | 精品啪啪 | 久久免费观看视频 | 亚洲天堂成人在线视频 | 亚洲www| 亚洲草草视频 | 欧美成年网站 | 午夜一区| 国产精品久久国产精品 | 自拍偷拍精品 | 国产在线视频在线观看 | 成人久久18免费网站麻豆 | 国产午夜精品视频 | 天天干视频 | 亚洲精品乱码久久久久久9色 | 国产成人在线一区二区 | 全免费a级毛片免费看视频免费下 | 国产九九精品 | 日韩aⅴ视频 | 国产免费播放视频 | 中文字幕第三页 | 国际精品久久 | 99久久婷婷国产综合精品电影 | 伊人网站在线观看 | 欧美久久久久久久久 | av片在线免费看 | 国产精品视屏 | 草草视频在线免费观看 | 国产成人精品一区二区三区在线 | 成人亚洲 | 国产乱码精品一区二区三区中文 | 一区二区三区精品视频 | 亚洲国产网 | 51ⅴ精品国产91久久久久久 |