日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

水木清華BBS集錦:SunOS里的shutdown中文man

發(fā)信人:;ndcbbs;(罐子里的妖怪),;信區(qū):;Unix;;;;;
標(biāo);;題:;Re:;SunOS里的shutdown
發(fā)信站:;BBS;水木清華站;(Thu;Dec;23;15:21:10;1999)


剛剛翻譯完,別見笑:
"man;shutdown;";on;Sunos5.6

Maintenance;Commands;;;;;shutdown(1M)
系統(tǒng)維護(hù)命令;;;;shutdown(1M)


NAME
名稱
shutdown;-;shut;down;system,;change;system;state
shutdown;-;關(guān)畢系統(tǒng),轉(zhuǎn)換相同的狀態(tài)

SYNOPSIS
/usr/sbin/shutdown;[;-y;];[;-g;grace-period;]
[;-i;init-state;];[;message;]

DESCRIPTION
shutdown;is;executed;by;the;super-user;to;change;;the;;state
of;;the;;machine.;;;In;most;cases,;it;is;used;to;change;from
the;multi-user;state;(state;2);to;another;state.
shutdown;被super-user(超級用戶)用來轉(zhuǎn)換機(jī)器(系統(tǒng))的狀態(tài).通常,
是從多用戶狀態(tài)(state;2;狀態(tài)2)轉(zhuǎn)換到其他狀態(tài).

By;default,;shutdown;brings;the;system;to;a;state;where;only
the;;console;has;access;to;the;operating;system.;;This;state
is;called;single-user.
shutdown在缺省時執(zhí)行的結(jié)果是把系統(tǒng)轉(zhuǎn)換成只能在控制臺上登陸的模式.
這種模式叫單用戶模式.
Before;starting;to;shut;down;daemons;and;killing;;processes,
shutdown;;sends;;a;;warning;message;and,;by;default,;a;final
message;asking;for;confirmation.;;message;is;a;;string;;that
is;sent;out;following;the;standard;warning;message;"The;sys-
tem;will;be;shut;down;in;...";;If;the;string;;contains;;more
than;;one;;word,;it;should;be;contained;within;single;(");or
double;(");quotation;marks.
在關(guān)畢守護(hù)程序并且殺掉進(jìn)程前,shutdown會發(fā)出警告給用戶,缺省情況下,
會有一個請求最后確認(rèn)的詢問.message是一個打印到標(biāo)準(zhǔn)輸出上的警告信息:
"The;system;will;be;shut;down;in;..."如果這個string包含多個
單詞,必須用單引號(")或雙引號(")引用.

The;warning;message;and;the;user;provided;message;are;output
when;;there;;are;;7200,;3600,;1800,;1200,;600,;300,;120,;60,
and;30;seconds;remaining;before;shutdown;begins.;;See;;EXAM-
PLES.
警告信息以7200,3600,1800,1200,600,300,120,60,30秒為單位進(jìn)行輸出
到標(biāo)準(zhǔn)輸出上.(參看后邊的例子)

System;state;definitions;are:
下面是系統(tǒng)狀態(tài)的定義:

state;0Stop;the;operating;system.
終止操作系統(tǒng).

state;1State;1;is;referred;to;as;the;;administrative
state.;;;In;state;1;file;systems;required;for
multi-user;operations;are;mounted,;and;logins
requiring;;access;;to;multi-user;file;systems
can;be;used.;;When;the;system;comes;;up;;from
firmware;;mode;into;state;1,;only;the;console
is;active;and;other;multi-user;(state;2);ser-
vices;;are;;unavailable.;;;Note;;that;not;all
user;processes;are;stopped;when;transitioning
from;multi-user;state;to;state;1.
State;1狀態(tài)被認(rèn)為是管理狀態(tài).在State;1狀態(tài)下多用戶文件系統(tǒng)
會被安裝,并且那些需要多擁護(hù)文件系統(tǒng)的登陸方式能夠使用.;
當(dāng)系統(tǒng)從(firmware;mode)硬件模式進(jìn)入到state;1時,
只有控制臺能夠被使用,其他的多用戶的服務(wù)將不能使用.
請注意從多用戶狀態(tài)(state;2)轉(zhuǎn)換到state;1時,并不是所有的用戶
進(jìn)程都被殺掉.

state;s,;S;;;;;State;s;(or;S);is;referred;to;as;the;;single-
user;;state.;;;All;user;processes;are;stopped
on;;transitions;;to;;this;;state.;;;;In;;;the
single-user;;state,;file;systems;required;for
multi-user;logins;are;unmounted;and;the;;sys-
tem;can;only;be;accessed;through;the;console.
Logins;requiring;access;;to;;multi-user;;file
systems;cannot;be;used.
State;s(or;S)是所謂的單用戶模式.當(dāng)進(jìn)入這種模式的時候
所有的用戶的進(jìn)程都將被殺掉.在單用戶模式下,多用戶文件系統(tǒng)
將不被安裝.系統(tǒng)只能在控制臺上被使用.多用戶系統(tǒng)的登陸方式將
不可用.

SunOS;5.6;;;;;;;Last;change:;19;Dec;1995;;;;1

SunOS;5.6;;;;;;;Last;change:;19;Dec;1995;;;;1

推薦閱讀