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

halt 中文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)

責任編輯:韓亞珊 來源: 互聯網
相關推薦

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技術棧公眾號

主站蜘蛛池模板: 国产精品一区二区三区久久久 | 亚洲一区 中文字幕 | 久久久久精 | 日韩一区二区三区在线观看 | jⅰzz亚洲 | www.99精品| 色呦呦在线 | 久国产精品 | 欧美精品福利视频 | 欧美精品一区三区 | 色婷婷影院 | 欧美在线日韩 | 亚洲精品中文字幕中文字幕 | 91精品国产91久久久久游泳池 | 亚洲一二三区在线观看 | 性精品 | 色视频一区二区 | 草草视频在线观看 | 欧美精品在欧美一区二区 | 婷婷国产一区二区三区 | 一区二区三区网站 | 中文字幕在线视频观看 | 中文字幕亚洲一区二区三区 | 99精品视频在线观看免费播放 | 亚洲精品一区中文字幕乱码 | 欧美一区二区三区在线看 | 午夜理伦三级理论三级在线观看 | 极品久久| 国产探花| 欧美日韩在线一区二区 | 精品二 | 一级黄色片一级黄色片 | se婷婷| 就操在线 | 欧美激情精品久久久久久免费 | 韩日视频在线观看 | av在线一区二区 | 日本色高清 | 午夜影院视频在线观看 | 成人av免费 | 91九色视频在线 |