aboutsummaryrefslogtreecommitdiff
path: root/ja_JP.eucJP/man/man8/shutdown.8
diff options
context:
space:
mode:
Diffstat (limited to 'ja_JP.eucJP/man/man8/shutdown.8')
-rw-r--r--ja_JP.eucJP/man/man8/shutdown.8133
1 files changed, 133 insertions, 0 deletions
diff --git a/ja_JP.eucJP/man/man8/shutdown.8 b/ja_JP.eucJP/man/man8/shutdown.8
new file mode 100644
index 0000000000..85c8681fd6
--- /dev/null
+++ b/ja_JP.eucJP/man/man8/shutdown.8
@@ -0,0 +1,133 @@
+.\" Copyright (c) 1988, 1991, 1993
+.\" The Regents of the University of California. All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\" must display the following acknowledgement:
+.\" This product includes software developed by the University of
+.\" California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\" may be used to endorse or promote products derived from this software
+.\" without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" @(#)shutdown.8 8.1 (Berkeley) 6/5/93
+.\" jpman %Id: shutdown.8,v 1.2 1997/05/13 00:55:09 mutoh Stab %
+.\"
+.Dd June 5, 1993
+.Dt SHUTDOWN 8
+.Os BSD 4
+.Sh 名称
+.Nm shutdown
+.Nd 指定時間後にシステムを停止する
+.Sh 書式
+.Nm shutdown
+.Op Fl
+.Op Fl hkrn
+.Ar time
+.Op Ar warning-message ...
+.Sh 解説
+.Nm shutdown
+は、ユーザにシステムがシャットダウンされる時にユーザに知らせ、
+システム管理者やハッカーやグルのようなたの人を面倒がらせないように
+します。
+.Pp
+オプションとしては以下のものがあります。
+.Bl -tag -width time
+.It Fl h
+.Ar time
+で指定された時間に
+.Xr halt 8
+を実行し、システムを停止します。
+.It Fl k
+実際にはシステムを停止しませんが、
+スーパーユーザ以外のユーザをログインできなくします。
+.It Fl n
+停止する前に
+.Xr sync 2
+を実行しません。
+.It Fl r
+.Ar time
+で指定された時間に
+.Xr reboot 8
+を実行し、システムを再起動します。
+.It Ar time
+.Nm shutdown
+がシステムを停止させる時間を指定します。
+.Ar now
+を指定すると即時にシステムを停止します。
+また、時間を指定する次の二つの書式があります。
+.Ar +number
+もしくは
+.Ar yymmddhhmm
+の形式で指定します。現在のシステムの年・月・日の値がデフォルトになっています。
+一つめの書式は
+.Ar number
+分経過後をあらわし、二つめの書式は停止する時刻を直接指定します。
+.It Ar warning-message
+その他の引数は現在ログイン中のユーザに送る警告メッセージとして扱われます。
+.It Fl
+もし
+.Ql Fl
+がオプションとして与えられると、警告メッセージを標準入力から読み取ります。
+.El
+.Pp
+システム停止の 10 時間前から、ログイン中の全てのユーザーの端末に
+警告メッセージが表示されはじめ、停止が近付くにつれ頻繁になってきます。
+システム停止の 5 分前、もしくは 5 分以内にシステム停止する場合には、
+ただちに警告メッセージをコピーした
+.Pa /etc/nologin
+が作られログインが禁止されます。
+ユーザがログインしようとした際にこのファイルが存在する場合には、
+.Xr login 1
+はその内容を表示し終了します。このファイルは
+.Nm shutdown
+が終了する際に削除されます。
+.Pp
+システム停止時には、システムを停止した時間、実行者、理由が
+システムログに記録されます。その後、terminate シグナルが
+.Xr init
+に送られ、システムをシングルユーザ状態にします(この動作は上記の
+オプションに依存します)。
+システムを停止する時間と警告メッセージは
+.Pa /etc/nologin
+に置かれます。これをユーザにシステムを再開する時間や、なぜシステムを
+停止するかなどを知らせるために使うべきです。
+.Sh 関連ファイル
+.Bl -tag -width /etc/nologin -compact
+.It Pa /etc/nologin
+login に誰にもログインさせないことを知らせます。
+.El
+.Sh 関連項目
+.Xr login 1 ,
+.Xr wall 1 ,
+.Xr nologin 5 ,
+.Xr halt 8 ,
+.Xr reboot 8
+.Bd -literal -offset indent
+.Sh 下位互換性
+下位互換性のため、二つめの書式で時と分をコロン(``:'')で区切ることができます。
+.Ed
+.Sh 歴史
+.Nm
+コマンドは
+.Bx 4.0
+から登場しました。