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

halt 中文man頁面

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

NAME

halt, reboot, poweroff - 中止系統(tǒng)運行  

SYNOPSIS

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

描述

Halt 將系統(tǒng)正在關(guān)機的信息寫入 /var/log/wtmp 文件,然后通知內(nèi)核停止重啟或關(guān)機系統(tǒng)。如果 haltreboot 是在系統(tǒng) 沒有 運行在運行級別 06 ,系統(tǒng)將調(diào)用 shutdown(8) 命令(使用參數(shù) -h-r )。  

選項

-n
在關(guān)機或重啟之前不對系統(tǒng)緩存進行同步。
-w
不真正重啟或關(guān)機,而僅僅將關(guān)機信息寫入 wtmp (在 /var/log/wtmp 文件里)。
-d
不記錄此次關(guān)機情況。當(dāng)使用 -n 參數(shù)時隱含 -d
-f
強制執(zhí)行 halt 或 reboot 而不去調(diào)用 shutdown(8)。
-i
在關(guān)閉或重啟系統(tǒng)之前關(guān)閉所有網(wǎng)絡(luò)界面。
-p
當(dāng)關(guān)閉系統(tǒng)時執(zhí)行關(guān)閉電源操作。當(dāng)以 poweroff 方式調(diào)用 halt 時,此為缺省參數(shù)。

DIAGNOSTICS

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

注意

在先前的 sysvinit 發(fā)布中,reboothalt 不能直接調(diào)用。從版本 2.74 開始,當(dāng)系統(tǒng)不是運行在運行級別0或6的時侯,執(zhí)行 haltreboot 后實際調(diào)用的是 shutdown(8) 。這就意味著如果在當(dāng)前運行級別的環(huán)境中無法找到
 halt 或 reboot 的時候(比如,在 /var/run/utmp  還沒有正確初始化的時候),將會調(diào)用 shutdown,這個結(jié)果也許非你所想。如果你想做一此硬的 haltreboot,那么使用 -f 參數(shù)。

作者

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)

責(zé)任編輯:韓亞珊 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

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技術(shù)棧公眾號

主站蜘蛛池模板: 91视频三区 | 一区二区三区四区日韩 | 国产精品久久性 | 国产亚洲欧美日韩精品一区二区三区 | 国产乱码精品1区2区3区 | av午夜激情 | 日韩成人在线观看 | 精品久久久久久久久久久久久久久久久 | 第四色播日韩第一页 | 亚洲精品视频观看 | 国产一区二区三区在线 | 亚洲一区二区视频 | 一级毛片观看 | 成人在线精品 | 黄片毛片免费看 | 国产精品亚洲成在人线 | 视频在线一区二区 | 91在线看| 久久专区 | 亚洲日韩中文字幕一区 | 中文字幕精品一区二区三区精品 | 一区二区视屏 | 正在播放国产精品 | 欧美精品一级 | 国产精品久久久久久久久久了 | 欧美一级免费黄色片 | 国产丝袜人妖cd露出 | 日韩在线免费视频 | 欧美一区二区三区 | 日韩视频免费看 | 日韩欧美三级电影在线观看 | 亚洲一区二区三区视频免费观看 | 欧美一区在线视频 | 激情欧美一区二区三区中文字幕 | 久久久久久电影 | 国产精品99久久久久久久vr | 欧美国产日韩在线观看成人 | 国产精品综合色区在线观看 | 欧美精品一区在线 | 欧美激情精品久久久久久 | 国产精品不卡视频 |