成人免费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| www在线视频 | 亚洲午夜三级 | 黄色在线免费看 | 羞羞网站免费 | 日韩精品一区二区三区在线观看 | 国产精品二区三区 | 久久91| 天天操天天干天天透 | 国产一在线 | 久久激情网| 国产一卡二卡三卡 | 亚洲色欧美另类 | 亚洲精色| av在线免费观看网站 | 久久久视频在线 | 中文字幕国产一区 | 日韩在线视频观看 | 亚洲国产精品久久久久秋霞不卡 | 国产玖玖| 男女国产网站 | 久久精品亚洲欧美日韩精品中文字幕 | 免费成人在线网站 | 成人在线视频免费看 | 中文字幕亚洲精品 | 国产精品成人国产乱 | 国产亚洲精品久久久久久牛牛 | 国产精品美女一区二区三区 | 欧美精品久久久久 | 久久免费精品 | 欧美电影在线 | 精品一区久久 |