OSDN Git Service

GNU_coreutils: Update ja.po.patch and related draft/man1/*.1.
[linuxjm/coreutils.git] / draft / man1 / timeout.1
index 0bc05cb..fecafb0 100644 (file)
@@ -17,20 +17,20 @@ COMMAND を開始し、DURATION 経過後も実行中の場合は終了させま
 .HP
 \fB\-\-foreground\fR
 .IP
-When not running timeout directly from a shell prompt,
-allow COMMAND to read from the TTY and receive TTY signals.
-In this mode, children of COMMAND will not be timed out.
+timeout がシェルプロンプトから直接実行されていない場合、COMMAND
+が TTY から読み込みを行い、TTY シグナルを受信できるようにする。
+このモードでは COMMAND の子プロセスはタイムアウトしない。
 .HP
 \fB\-k\fR, \fB\-\-kill\-after\fR=\fIDURATION\fR
 .IP
-also send a KILL signal if COMMAND is still running
-this long after the initial signal was sent.
+最初にシグナルを送ってから DURATION を経過しても COMMAND
+がまだ動作している場合は KILL シグナルを送る。
 .HP
 \fB\-s\fR, \fB\-\-signal\fR=\fISIGNAL\fR
 .IP
-specify the signal to be sent on timeout.
-SIGNAL may be a name like 'HUP' or a number.
-See 'kill \fB\-l\fR' for a list of signals
+タイムアウト時に送るシグナルを指定する。SIGNAL には
+\&'HUP' のようなシグナル名かシングル番号を使用する。
+シグナル一覧については 'kill \fB\-l\fR' を参照
 .TP
 \fB\-\-help\fR
 この使い方を表示して終了する
@@ -38,15 +38,18 @@ See 'kill \fB\-l\fR' for a list of signals
 \fB\-\-version\fR
 バージョン情報を表示して終了する
 .PP
-DURATION is a floating point number with an optional suffix:
-\&'s' for seconds (the default), 'm' for minutes, 'h' for hours or 'd' for days.
+DURATION は浮動小数点数で指定し、追加で次の接尾辞を指定できます:
+秒を表す 's' (デフォルト)、分を表す 'm'、時間を表す 'h'、日を表す 'd'。
 .PP
-If the command times out, then exit with status 124.  Otherwise, exit
-with the status of COMMAND.  If no signal is specified, send the TERM
-signal upon timeout.  The TERM signal kills any process that does not
-block or catch that signal.  For other processes, it may be necessary to
-use the KILL (9) signal, since this signal cannot be caught.  If the
-KILL (9) signal is sent, the exit status is 128+9 rather than 124.
+コマンドがタイムアウトした場合、終了ステータスは 124 になります。
+それ以外の場合、COMMAND の終了ステータスが終了ステータスになります。
+シグナルが指定されていない場合、タイムアウト時には TERM シグナルが送られます。
+この TERM シグナルにより、TERM シグナルをブロックもしくは捕捉していない
+プロセスは、すべて終了されます。TERM で終了できないプロセスを終了させる
+ためには KILL (9) シグナルを使う必要です
+(KILL シグナルは捕捉することができません)。
+KILL (9) シングルが送信された場合は、終了ステータスは 124 ではなく
+128+9 にないます。
 .SH バグ
 いくつかのプラットフォームでは、
 2038 年を越えるタイムアウトに対応していません。