麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 學院 > 操作系統 > 正文

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

2024-07-26 00:29:34
字體:
來源:轉載
供稿:網友
發信人: ndcbbs (罐子里的妖怪), 信區: Unix       
標  題: Re: SunOS里的shutdown
發信站: BBS 水木清華站 (Thu Dec 23 15:21:10 1999)


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

Maintenance Commands                     shutdown(1M)
系統維護命令                            shutdown(1M)


NAME
名稱
     shutdown - shut down system, change system state
     shutdown - 關畢系統,轉換相同的狀態

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(超級用戶)用來轉換機器(系統)的狀態.通常,
    是從多用戶狀態(state 2 狀態2)轉換到其他狀態.

     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在缺省時執行的結果是把系統轉換成只能在控制臺上登陸的模式.
    這種模式叫單用戶模式.
     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.
     在關畢守護程序并且殺掉進程前,shutdown會發出警告給用戶,缺省情況下,
     會有一個請求最后確認的詢問.message是一個打印到標準輸出上的警告信息:
     "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秒為單位進行輸出
    到標準輸出上.(參看后邊的例子)
        
     System state definitions are:
     下面是系統狀態的定義:

     state 0        Stop the operating system.
                    終止操作系統.
                    
     state 1        State 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狀態被認為是管理狀態.在State 1狀態下多用戶文件系統
            會被安裝,并且那些需要多擁護文件系統的登陸方式能夠使用.   
            當系統從(firmware mode)硬件模式進入到state 1時,
            只有控制臺能夠被使用,其他的多用戶的服務將不能使用.
            請注意從多用戶狀態(state 2)轉換到state 1時,并不是所有的用戶
            進程都被殺掉.

     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)是所謂的單用戶模式.當進入這種模式的時候
            所有的用戶的進程都將被殺掉.在單用戶模式下,多用戶文件系統
            將不被安裝.系統只能在控制臺上被使用.多用戶系統的登陸方式將
            不可用.

SunOS 5.6       Last change: 19 Dec 1995            1

SunOS 5.6       Last change: 19 Dec 1995            1





Maintenance Commands                     shutdown(1M)
系統維護命令                             shutdown(1M)


     state 5        Shut 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 6        Stop 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?

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 久久国产精品99久久人人澡 | 成人网在线观看 | 国产精品一 | 国产青草视频在线观看视频 | 国产免费人做人爱午夜视频 | 91丝袜 | 国产伦精品一区二区三区 | 爱操影视 | 国产一区二区免费 | 欧美精品一区二区三区久久久 | www.91sao | 男女羞羞在线观看 | 久久精品国产久精国产 | 羞羞电影在线观看 | 一区二区三区视频在线播放 | 爱逼av | 色视频在线播放 | 国产精品视频在线观看免费 | 成人免费看视频 | 欧美一区二区三区久久精品视 | 国产无遮挡一区二区三区毛片日本 | 91免费高清视频 | 韩国美女一区 | 综合图区亚洲 | 亚洲影视在线 | 欧美一级做性受免费大片免费 | 亚洲性生活视频 | 色操网 | 欧美大电影免费观看 | 欧美不卡视频在线观看 | 性生活视频一级 | 久久精品黄 | 亚洲欧美日韩中文在线 | 国产一区二区三区四区在线 | 少妇一级淫片高潮流水电影 | 蜜桃网站在线观看 | 91久久另类重口变态 | 久久96国产精品久久久 | 亚洲成人自拍电影 | 手机在线看片国产 | 欧美成人小视频 |