Maintenance;Commands;;;;;shutdown(1M)
系统维护命令;;;;;shutdown(1M)
state;5Shut;the;machine;down;so;that;it;is;;safe;;to
remove;;the;;power.;;;Have;the;machine;remove
power,;if;possible.;;;The;;rc0;;procedure;;is
called;to;perform;this;task.
关毕机器,以便把电源关掉.rc0进程将被调用执行
这个任务.
state;6Stop;the;operating;system;and;reboot;;to;;the
state;;defined;;by;;the;;initdefault;entry;in
/etc/inittab.;;The;rc6;procedure;is;called;to
perform;this;task.
停止操作系统并且把系统重新起动到缺省的状态如
/etc/inittab里定义的那样.rc6将被调用来执行这项任务.
OPTIONS
-y;Pre-answer;the;confirmation;question;;so;;the
command;can;be;run;without;user;intervention.
用来对确认信息进行不敏感确认.(对所有确认都回答yes)
-g;grace-period
Allow;the;super-user;to;change;the;number;;of
seconds;from;the;60-second;default.
以60秒为单位指定警告信息发送的间隔.
-i;init-state;;If;there;are;warnings,;;init-state;;specifies
the;state;init;is;to;be;in.;;By;default,;sys-
tem;state;>qspq;is;used.
指定转换到的状态.如果有警告信息,将要转换的状态将被加
到警告信息中去.缺省情况下,>qspq将被执行.
EXAMPLES
In;the;following;example,;shutdown;is;being;executed;on;host
foo;and;is;scheduled;in;120;seconds.;;The;warning;message;is
output;2;minutes,;1;minute,;and;30;seconds;before;the;;final
confirmation;message.
下面的例子的目的是:主机将在120秒内被关毕.在最后确认之前,
警告信息每隔2分钟,1分钟30秒被输出到标准输出上..
example#;shutdown;-i;S;-g;120;"=====;disk;replacement;====="
Shutdown;started.;;;Tue;Jun;;;7;;14:51:40;PDT;;1994
Broadcast;Message;from;root;(pts/1);on;foo;Tue;Jun;;7;14:51:41...
The;system;will;be;shut;down;in;2;minutes
=====;disk;replacement;=====
Broadcast;Message;from;root;(pts/1);on;foo;Tue;Jun;;7;14:52:41...
The;system;will;be;shut;down;in;1;minutes
=====;disk;replacement;=====
Broadcast;Message;from;root;(pts/1);on;foo;Tue;Jun;;7;14:53:41...
The;system;will;be;shut;down;in;30;seconds
=====;disk;replacement;=====
Do;you;want;to;continue?;(y;or;n):
FILES
/etc/inittab;;;;controls;process;dispatching;by;init
ATTRIBUTES
See;;attributes(5);;for;;descriptions;;;of;;;the;;;following
SunOS;5.6;;;;;;;Last;change:;19;Dec;1995;;;;2
Maintenance;Commands;;;;;shutdown(1M)
attributes:
__________________________________
|;ATTRIBUTE;TYPE|;;ATTRIBUTE;VALUE|
|__________________________________
|;Availability;;|;;SUNWcsu|
|_______________|_________________|
SEE;ALSO
参照:;
boot(1M),;;halt(1M),;;init(1M),;;;killall(1M),;;;reboot(1M),
ufsdump(1M),;;;init.d(4),;;;inittab(4),;;nologin(4),;;attri-
butes(5)
SunOS;5.6;;;;;;;Last;change:;19;Dec;1995;;;;3
【;在;Cohen;(Tommy);的大作中提到:;】
【;在;Colinda;(无风无雨亦无情);的大作中提到:;】
:;;;;;shutdown;-r;now
Thanks,;but;can;you;do;me;a;favor;to;give
a;full;explanation;on;those;switches?
推荐阅读
- BBS轮毂的制造国家是哪个 bbs轮毂是哪个国家
- Cisco路由器使用问题集锦
- Cisco 路由器使用问题集锦
- 路由器用户使用问题集锦
- 师德格言 师德格言集锦
- K790C常见问答集锦
- 程控交换机术语集锦
- 交换机使用常见疑难问题集锦
- 王者荣耀击杀集锦在哪看
- 王者荣耀精彩集锦在哪里看