1 .\" Copyright 1992 Rickard E. Faith (faith@cs.unc.edu)
2 .\" May be distributed under the GNU General Public License
4 .\" Japanese Version Copyright (c) 1997 NAKANO Takeo all rights reserved.
5 .\" Translated Thu Sep 1 1997 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
6 .\" Updated & Modified Thu 7 Oct 1999 by NAKANO Takeo
7 .\" Updated & Modified Wed 14 Jun 2000 by NAKANO Takeo
9 .TH SHUTDOWN 8 "2 March 2000" "Linux 2.0" "Linux Programmer's Manual"
11 .\"O shutdown \- close down the system
13 shutdown \- システムを閉じて終了させる
17 .BR "shutdown [ \-h | \-r ] [ \-fqs ] [ now | " hh:ss " | " +mins " ] [ " message " ]"
18 .BR "reboot [ \-h | \-r ] [ \-fqs ] [ now | " hh:ss " | " +mins " ] [ " message " ]"
19 .BR "fastboot [ \-h | \-r ] [ \-fqs ] [ now | " hh:ss " | " +mins " ] [ " message " ]"
20 .BR "halt [ \-h | \-r ] [ \-fqs ] [ now | " hh:ss " | " +mins " ] [ " message " ]"
21 .BR "fasthalt [ \-h | \-r ] [ \-fqs ] [ now | " hh:ss " | " +mins " ] [ " message " ]"
25 .\" " for emacs hilit19
28 .\"O prepares the system for a power down or reboot. A absolute or delta time
29 .\"O can be given, and periodic messages will be sent to all users warning of
30 .\"O the shutdown. If no message is specified on the command line,
32 .\"O will ask for a message to be sent, unless the
36 はシステムの電源停止やリブートの準備をする。いつ停止するかを、時刻また
37 は現在からの待ち時間で指定できる。すべてのユーザーに、シャットダウンの
38 警告メッセージが送られる。コマンドラインでメッセージが指定されなかった
47 .\"O .B "shutdown -h -q now"
50 .B "shutdown -h -q now"
55 .\"O .B "shutdown -h -q -f now"
58 .B "shutdown -h -q -f now"
63 .\"O .B "shutdown -r -q now"
66 .B "shutdown -r -q now"
71 .\"O .B "shutdown -r -q -f now"
74 .B "shutdown -r -q -f now"
77 .\"O The default delta time, if none is specified, is 2 minutes.
78 何も指定されなかった場合、デフォルトの待ち時間は 2 分になる。
80 .\"O Five minutes before shutdown (or immediately, if shutdown is less than five
81 .\"O minutes away), the
83 .\"O file is created with a message stating that the system is going down and
84 .\"O that logins are no longer permitted. The
86 .\"O program will not allow non-superusers to login during this period. A
87 .\"O message will be sent to all users at this time.
88 シャットダウンの 5 分前に (あるいはシャットダウンが 5 分以内に行われる
91 ファイルが作成され、「システムがダウンするのでログインはできない」旨の
94 プログラムはこれ以降、スーパーユーザー以外のログインを許可しない。また
95 このとき、すべてのユーザーにメッセージが送信される。
97 .\"O When the shutdown time arrives,
99 .\"O notifies all users, tells
101 .\"O not to spawn more
102 .\"O .BR getty (8)'s,
103 .\"O writes the shutdown time into the
104 .\"O .I /var/log/wtmp
105 .\"O file, kills all other processes on the system,
107 .\"O unmounts all the disks,
109 .\"O again, waits for a second, and then either terminates or reboots the
116 プロセスを再生成 (spawn) しないように
121 ファイルにシャットダウンの時間を書き込み、
124 を実行してすべてのディスクをアンマウントし、再び
126 を実行、少し待ってシステムを終了させるかリブートさせる。
128 .\"O Prior to unmounting all discs, the \fBSIGQUIT\fP signal is sent to the
129 .\"O \fBinit\fP process, which will in turn exec \fBshutdown\fP(8). This
130 .\"O allows for clean unmounting, even if the old inode for the \fBinit\fP
131 .\"O process was unlinked. If the current process ID (PID) equals 1, then
132 .\"O \fBshutdown\fP(8) will pause forever.
141 の古い inode が unlink された場合でもクリーンにアンマウントを行うことができる。
142 カレントのプロセス ID (PID) が 1 の場合は、
149 .\"O Halt the system. Do not reboot. This option is used when powering down
151 システムを停止 (halt) する。リブートしない。
152 このオプションはシステムの電源を落とすときに用いられる。
155 .\"O Reboot the system.
159 .\"O Fast. When the system is rebooted, the file systems will not be checked.
160 .\"O This is arranged by creating
164 .\"O must detect (and delete).
166 ファイルシステムをチェックしないようにする。
171 によって検知(および消去)されるようになっていなければならない。
174 .\"O Quiet. This uses a default broadcast message, and does not prompt the user
176 メッセージ抑制。このオプションが指定されるとデフォルトのブロードキャス
177 トメッセージが用いられる。メッセージの入力を求めるプロンプトをユーザー
181 .\"O Reboot in single user mode. This is arranged by creating
182 .\"O .IR /etc/singleboot ,
184 .\"O .BR simpleinit (8)
185 .\"O detects (and deletes).
191 によって検知(および消去)されるようになっていなければならない。
200 .I /etc/shutdown.conf
204 .\"O The configuration file \fI/etc/shutdown.conf\fP is used to determine
205 .\"O the action to take when halting the machine. The currently supported
206 .\"O file format is extremely primitive. The first line must contain two
207 .\"O strings separated by whitespace. The first string must be
208 .\"O \fBHALT_ACTION\fP and the second specifies the action you wish to take
209 .\"O on halt. The options allowed are:
210 設定ファイル \fI/etc/shutdown.conf\fP を用いれば
211 マシンを停止するときの動作を決定することができる。
212 現在サポートされているファイル形式は非常に単純なものである。
213 第一行には空白で区切った二つの文字列を記述する。
214 最初の文字列は \fBHALT_ACTION\fP とし、第二の文字列には
215 停止時の動作を指定する。以下のオプションが適用できる。
218 .\"O This will simply halt the system. This is the default behaviour.
219 .\"O Note also that this is the fallback if another option fails.
220 単にシステムを停止する。デフォルトの動作である。
221 他のオプションが失敗した場合にもこの動作が行われる。
224 .\"O This will use the kernel power shutdown facility. This is usually only
225 .\"O available on machines with Advanced Power Management (APM).
227 APM (Advanced Power Management) 機能のあるマシンでのみ利用できる。
230 .\"O This specifies a command to run to shut down the power. The first
231 .\"O character must be a "/". Bear in mind that this command will be run
232 .\"O with only the root filesystem mounted (and it will be read-only), and
233 .\"O no daemons running.
234 電源を切るために動作させるコマンドを指定する。
235 最初の文字は "/" でなければならない。
236 このコマンドはルートファイルシステムだけで (かつリードオンリーで)、
237 さらにデーモンがない状態で動作する必要がある。
249 .\"O users are notified of shutdown only once or twice, instead of many times,
250 .\"O and at shorter and shorter intervals as "apocalypse approaches."
251 .\"O Some would construe this as a feature.
254 と異なり、ユーザーはシャットダウンの通知を一度または二度しか受け取らない。
255 BSD 版ではこの通知は何度も、しかも「黙示のとき」が近づくにつれ、
257 これを仕様であるとみなしている人もいるかもしれない。
260 .\"O This page documents the version of
262 .\"O originally written by Peter Orbaek (poe@daimi.aau.dk).
264 Peter Orbaek (poe@daimi.aau.dk)