翻訳ドキュメント管理用
Revision | 4e784764a52de899d1fb194359b6d0322907e07c (tree) |
---|---|
Zeit | 2020-12-22 11:04:04 |
Autor | cyoichi <cyoichi@user...> |
Commiter | cyoichi |
util-linux: logger.1, renice.1, wall.1 to 2.36
modified: manual/util-linux/original/man1/logger.1
modified: manual/util-linux/original/man1/renice.1
modified: manual/util-linux/original/man1/wall.1
new file: manual/util-linux/po4a/man1/logger.patch
new file: manual/util-linux/po4a/man1/logger.po
new file: manual/util-linux/po4a/man1/renice.patch
new file: manual/util-linux/po4a/man1/renice.po
new file: manual/util-linux/po4a/man1/wall.patch
new file: manual/util-linux/po4a/man1/wall.po
modified: manual/util-linux/release/man1/logger.1
new file: manual/util-linux/release/man1/renice.1
modified: manual/util-linux/release/man1/wall.1
@@ -59,7 +59,7 @@ is defined to be a line without any characters. Thus a line consisting | ||
59 | 59 | only of whitespace is NOT considered empty. |
60 | 60 | Note that when the \fB\-\-prio\-prefix\fR option is specified, the priority |
61 | 61 | is not part of the line. Thus an empty line in this mode is a line that does |
62 | -not have any characters after the priority prefix (e.g. \fB<13>\fR). | |
62 | +not have any characters after the priority prefix (e.g., \fB<13>\fR). | |
63 | 63 | .TP |
64 | 64 | .BR \-f , " \-\-file " \fIfile |
65 | 65 | Log the contents of the specified \fIfile\fR. |
@@ -115,7 +115,7 @@ To include newlines in MESSAGE, specify MESSAGE several times. This is | ||
115 | 115 | handled as a special case, other fields will be stored as an array in |
116 | 116 | the journal if they appear multiple times. |
117 | 117 | .TP |
118 | -.BR \-\-msgid " \fImsgid | |
118 | +.BI \-\-msgid " msgid" | |
119 | 119 | Sets the RFC5424 MSGID field. Note that the space character is not permitted |
120 | 120 | inside of \fImsgid\fR. This option is only used if \fB\-\-rfc5424\fR is |
121 | 121 | specified as well; otherwise, it is silently ignored. |
@@ -225,12 +225,13 @@ than once for the same element. Note that the quotation marks around | ||
225 | 225 | .IP |
226 | 226 | produces: |
227 | 227 | .IP |
228 | -.nf | |
228 | +.\".nf | |
229 | +.\" this long line gets cut of in the output of "troff", and wraps | |
230 | +.\" in "nroff" | |
229 | 231 | \fB <13>1 2015-10-01T14:07:59.168662+02:00 ws kzak - - [timeQuality tzKnown="1" isSynced="1" syncAccuracy="218616"][zoo@123 tiger="hungry" zebra="running"][manager@123 onMeeting="yes"] this is message |
230 | -.fi | |
231 | -.IP | |
232 | +.\".fi | |
232 | 233 | .TP |
233 | -.BR \-S , " -\-size " \fIsize | |
234 | +.BR \-S , " \-\-size " \fIsize | |
234 | 235 | Sets the maximum permitted message size to \fIsize\fR. The default |
235 | 236 | is 1KiB characters, which is the limit traditionally used and specified |
236 | 237 | in RFC 3164. With RFC 5424, this limit has become flexible. A good assumption |
@@ -262,7 +263,7 @@ before version 2.26 used openlog, and hence was unable to detected loss of | ||
262 | 263 | messages sent to Unix sockets. |
263 | 264 | .IP |
264 | 265 | The default mode is \fBauto\fR. When errors are not enabled lost messages are |
265 | -not communicated and will result to successful return value of | |
266 | +not communicated and will result to successful exit status of | |
266 | 267 | .BR logger (1) |
267 | 268 | invocation. |
268 | 269 | .TP |
@@ -294,7 +295,7 @@ Display version information and exit. | ||
294 | 295 | .TP |
295 | 296 | .BR \-h , " \-\-help" |
296 | 297 | Display help text and exit. |
297 | -.SH RETURN VALUE | |
298 | +.SH EXIT STATUS | |
298 | 299 | The |
299 | 300 | .B logger |
300 | 301 | utility exits 0 on success, and >0 if an error occurs. |
@@ -345,20 +346,16 @@ l l. | ||
345 | 346 | .PP |
346 | 347 | For the priority order and intended purposes of these facilities and levels, see |
347 | 348 | .BR syslog (3). |
349 | +.SH CONFORMING TO | |
350 | +The | |
351 | +.B logger | |
352 | +command is expected to be IEEE Std 1003.2 ("POSIX.2") compatible. | |
348 | 353 | .SH EXAMPLES |
349 | 354 | .B logger System rebooted |
350 | 355 | .br |
351 | 356 | .B logger \-p local0.notice \-t HOSTIDM \-f /dev/idmc |
352 | 357 | .br |
353 | 358 | .B logger \-n loghost.example.com System rebooted |
354 | -.SH SEE ALSO | |
355 | -.BR journalctl (1), | |
356 | -.BR syslog (3), | |
357 | -.BR systemd.journal-fields (7) | |
358 | -.SH STANDARDS | |
359 | -The | |
360 | -.B logger | |
361 | -command is expected to be IEEE Std 1003.2 ("POSIX.2") compatible. | |
362 | 359 | .SH AUTHORS |
363 | 360 | The |
364 | 361 | .B logger |
@@ -375,6 +372,10 @@ and | ||
375 | 372 | .MT kerolasa@iki.fi |
376 | 373 | Sami Kerola |
377 | 374 | .ME . |
375 | +.SH SEE ALSO | |
376 | +.BR journalctl (1), | |
377 | +.BR syslog (3), | |
378 | +.BR systemd.journal-fields (7) | |
378 | 379 | .SH AVAILABILITY |
379 | 380 | The logger command is part of the util-linux package and is available from |
380 | 381 | .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ |
@@ -52,7 +52,6 @@ scheduling priority altered. | ||
52 | 52 | .BR renice 'ing |
53 | 53 | a user causes all processes owned by the user to have their scheduling |
54 | 54 | priority altered. |
55 | -.PP | |
56 | 55 | .SH OPTIONS |
57 | 56 | .TP |
58 | 57 | .BR \-n , " \-\-priority " \fIpriority\fR |
@@ -62,14 +61,14 @@ to be used for the process, process group, or user. Use of the option | ||
62 | 61 | .BR \-n " or " \-\-priority |
63 | 62 | is optional, but when used it must be the first argument. |
64 | 63 | .TP |
65 | -.BR \-g , " \-\-pgrp | |
64 | +.BR \-g ", " \-\-pgrp | |
66 | 65 | Interpret the succeeding arguments as process group IDs. |
67 | 66 | .TP |
68 | -.BR \-p , " \-\-pid | |
67 | +.BR \-p ", " \-\-pid | |
69 | 68 | Interpret the succeeding arguments as process IDs |
70 | 69 | (the default). |
71 | 70 | .TP |
72 | -.BR \-u , " \-\-user | |
71 | +.BR \-u ", " \-\-user | |
73 | 72 | Interpret the succeeding arguments as usernames or UIDs. |
74 | 73 | .TP |
75 | 74 | .BR \-V , " \-\-version" |
@@ -77,11 +76,10 @@ Display version information and exit. | ||
77 | 76 | .TP |
78 | 77 | .BR \-h , " \-\-help" |
79 | 78 | Display help text and exit. |
80 | -.SH EXAMPLES | |
81 | -The following command would change the priority of the processes with | |
82 | -PIDs 987 and 32, plus all processes owned by the users daemon and root: | |
79 | +.SH FILES | |
83 | 80 | .TP |
84 | -.B " renice" +1 987 -u daemon root -p 32 | |
81 | +.I /etc/passwd | |
82 | +to map user names to user IDs | |
85 | 83 | .SH NOTES |
86 | 84 | Users other than the superuser may only alter the priority of processes they |
87 | 85 | own. Furthermore, an unprivileged user can only |
@@ -89,7 +87,7 @@ own. Furthermore, an unprivileged user can only | ||
89 | 87 | the ``nice value'' (i.e., choose a lower priority) |
90 | 88 | and such changes are irreversible unless (since Linux 2.6.12) |
91 | 89 | the user has a suitable ``nice'' resource limit (see |
92 | -.BR ulimit (1) | |
90 | +.BR ulimit (1p) | |
93 | 91 | and |
94 | 92 | .BR getrlimit (2)). |
95 | 93 |
@@ -98,20 +96,22 @@ value in the range \-20 to 19. | ||
98 | 96 | Useful priorities are: 19 (the affected processes will run only when nothing |
99 | 97 | else in the system wants to), 0 (the ``base'' scheduling priority), anything |
100 | 98 | negative (to make things go very fast). |
101 | -.SH FILES | |
99 | +.SH HISTORY | |
100 | +The | |
101 | +.B renice | |
102 | +command appeared in 4.0BSD. | |
103 | +.SH EXAMPLES | |
104 | +The following command would change the priority of the processes with | |
105 | +PIDs 987 and 32, plus all processes owned by the users daemon and root: | |
102 | 106 | .TP |
103 | -.I /etc/passwd | |
104 | -to map user names to user IDs | |
107 | +.B " renice" +1 987 \-u daemon root \-p 32 | |
105 | 108 | .SH SEE ALSO |
106 | 109 | .BR nice (1), |
110 | +.BR chrt (1), | |
107 | 111 | .BR getpriority (2), |
108 | 112 | .BR setpriority (2), |
109 | 113 | .BR credentials (7), |
110 | 114 | .BR sched (7) |
111 | -.SH HISTORY | |
112 | -The | |
113 | -.B renice | |
114 | -command appeared in 4.0BSD. | |
115 | 115 | .SH AVAILABILITY |
116 | 116 | The renice command is part of the util-linux package and is available from |
117 | 117 | .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ |
@@ -87,15 +87,15 @@ Some sessions, such as wdm, that have in the beginning of | ||
87 | 87 | ut_type data a ':' character will not get the message from |
88 | 88 | .BR wall . |
89 | 89 | This is done to avoid write errors. |
90 | +.SH HISTORY | |
91 | +A | |
92 | +.B wall | |
93 | +command appeared in Version 7 AT&T UNIX. | |
90 | 94 | .SH SEE ALSO |
91 | 95 | .BR mesg (1), |
92 | 96 | .BR talk (1), |
93 | 97 | .BR write (1), |
94 | 98 | .BR shutdown (8) |
95 | -.SH HISTORY | |
96 | -A | |
97 | -.B wall | |
98 | -command appeared in Version 7 AT&T UNIX. | |
99 | 99 | .SH AVAILABILITY |
100 | 100 | The wall command is part of the util-linux package and is available from |
101 | 101 | .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/ |
@@ -0,0 +1,136 @@ | ||
1 | +--- logger.1.orig 2020-12-21 12:51:09.681683115 +0900 | |
2 | ++++ logger.1 2020-12-21 12:51:27.445683700 +0900 | |
3 | +@@ -36,6 +36,18 @@ | |
4 | + .\" This file was generated with po4a. Translate the source file. | |
5 | + .\" | |
6 | + .\"******************************************************************* | |
7 | ++.\" | |
8 | ++.\" Translated Sat Aug 28 JST 1993 by NetBSD jman proj. <jman@spa.is.uec.ac.jp> | |
9 | ++.\" Updated Sun Jun 18 JST 2000 by Kentaro Shirakata <argrath@ub32.org> | |
10 | ++.\" Updated Tue Jan 9 13:53:03 JST 2001 | |
11 | ++.\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp> | |
12 | ++.\" Updated Sat Nov 17 15:05:36 JST 2001 | |
13 | ++.\" by Yuichi SATO <ysato@h4.dion.ne.jp> | |
14 | ++.\" Updated & Modified Sun Mar 2 16:39:57 JST 2003 by Yuichi SATO | |
15 | ++.\" Updated & Modified (util-linux 2.36) Mon Dec 14 15:44:47 JST 2020 | |
16 | ++.\" by Yuichi SATO <ysato444@ybb.ne.jp> | |
17 | ++.\" and Yoichi Chonan <cyoichi@maple.ocn.ne.jp> | |
18 | ++.\" | |
19 | + .TH LOGGER 1 "November 2015" util\-linux "User Commands" | |
20 | + .SH 名前 | |
21 | + logger \- システムログにメッセージを書き込む | |
22 | +@@ -101,7 +113,7 @@ | |
23 | + DOGS=bark | |
24 | + CARAVAN=goes on | |
25 | + end\fP | |
26 | +-.IP | |
27 | ++.sp | |
28 | + \fBlogger \-\-journald=entry.txt\fP | |
29 | + .fi | |
30 | + .IP | |
31 | +@@ -150,6 +162,26 @@ | |
32 | + の組み合わせで指定してもよい。たとえば、\fB\-p local3.info\fP | |
33 | + と指定すると、ファシリティが local3、レベルは informational | |
34 | + としてメッセージが記録される。デフォルトは \fBuser.notice\fP である。 | |
35 | ++.RS | |
36 | ++.IP "[\fB訳注\fP]" 8 | |
37 | ++ファシリティ (facility) というのは、わかりにくい言葉だ。 | |
38 | ++だが、logger コマンドでは、ファシリティの値のそれぞれを、出力するメッセージの分類 | |
39 | ++(対象分野) ぐらいに考えておけばよいのではないかと思う。ファシリティが mail なら当然 | |
40 | ++mail 関係だし、auth ならセキュリティや認証関係のメッセージということだ。user や | |
41 | ++local は、その他といったところだろうか。レベル (level) は「重大度、深刻度」。 | |
42 | ++そして、こうしたファシリティとレベルにより、\fI/etc/syslog.conf\fP | |
43 | ++(または \fI/etc/rsyslog.conf\fP) | |
44 | ++の設定に基づいて、出力先のログファイルが決まるわけである。 | |
45 | ++.sp | |
46 | ++ファシリティやレベルの数値による表現については、 | |
47 | ++「\fBファシリティとレベル\fP」セクションをご覧いただきたい。 | |
48 | ++.sp | |
49 | ++なお、手元で試してみたところでは、この \fB\-\-priority\fP | |
50 | ++オプションでは、レベルを数値で指定することはできるが、 | |
51 | ++ファシリティを数値で指定することはできないようだ。 | |
52 | ++数値をそのまま使うのも、\fB\-\-prio\-prefix\fP のように | |
53 | ++8 倍してレベルを足すのも、うまく行かなかった。 | |
54 | ++.RE | |
55 | + .TP | |
56 | + \fB\-\-prio\-prefix\fP | |
57 | + 標準入力から読み込むすべての行で sysylog の接頭辞 (prefix) | |
58 | +@@ -164,6 +196,18 @@ | |
59 | + で指定された優先度 \fIpriority\fP を使ってログに記録される。 | |
60 | + .sp | |
61 | + このオプションは、コマンドライン引き数として指定したメッセージに対しては働かない。 | |
62 | ++.RS | |
63 | ++.IP "[\fB訳注\fP]" 8 | |
64 | ++別の角度から説明すると、 | |
65 | ++これは、入力するメッセージの行中でファシリティとレベルを指定する方法だと言えるだろう。 | |
66 | ++メッセージをファイル、または標準入力から入力するとき | |
67 | ++(コマンドラインの引き数としてではない)、\fBlogger\fP コマンドに | |
68 | ++\fB\-\-prio\-prefix\fP オプションを付け、メッセージ各行の行頭には | |
69 | ++\fB<134>\fP などと書いておく。そうすると、\fBlogger\fP | |
70 | ++がその行を優先度 \fBlocal0.info\fP | |
71 | ++のメッセージなどと解釈して、適切なログファイルに送ってくれるのである。 | |
72 | ++\fB<134>\fP などの接頭辞がログに書き込まれるわけではない。 | |
73 | ++.RE | |
74 | + .TP | |
75 | + \fB\-\-rfc3164\fP | |
76 | + リモートサーバにメッセージを送るのに RFC 3164 の BSD syslog プロトコルを使用する。 | |
77 | +@@ -271,7 +315,7 @@ | |
78 | + システムコールを使用するメッセージ処理と同じことである。\fBlogger\fP(1) も、 | |
79 | + バージョン 2.26 より前は openlog を使用していた。そのため、Unix | |
80 | + ソケットに送信したメッセージが消失しても、当時は検出できなかったのである。 | |
81 | +-.IP | |
82 | ++.sp | |
83 | + デフォルトの mode は、\fBauto\fP | |
84 | + である。エラー表示が有効ではないと、メッセージの消失があっても、通知されず、\fBlogger\fP | |
85 | + の実行は、成功のステータスで終わることになる。 | |
86 | +@@ -304,6 +348,10 @@ | |
87 | + \fBlogger\fP ユーティリティは、実行に成功すると、0 | |
88 | + の終了ステータスで、エラーが起きた場合は、0 より大きい終了ステータスで終了する。 | |
89 | + .SH ファシリティとレベル | |
90 | ++.IP "[\fB訳注\fP]" | |
91 | ++以下、ファシリティやレベル名の後ろに、カッコに入れて、数値による表現を付けておく。 | |
92 | ++こうした数値は、\fB\-\-prio\-prefix\fP で使用できる。 | |
93 | ++.PP | |
94 | + 有効なファシリティ名 (メッセージの分類): | |
95 | + .IP | |
96 | + .nr WI \n(.lu-\n(.iu-\w'\fBauthpriv\fR'u-3n | |
97 | +@@ -317,7 +365,8 @@ | |
98 | + \fBftp\fP(11) | |
99 | + \fBkern\fP(0):T{ | |
100 | + ユーザスペースのプロセスからは生成できない。たとえ | |
101 | +-\fBkern\fP を指定しても、自動的に \fBuser\fP に変更されるT} | |
102 | ++\fBkern\fP を指定しても、自動的に \fBuser\fP に変更される | |
103 | ++T} | |
104 | + \fBlpr\fP(6) | |
105 | + \fBmail\fP(2) | |
106 | + \fBnews\fP(7) | |
107 | +@@ -362,21 +411,15 @@ | |
108 | + .SH 作者 | |
109 | + オリジナルの \fBlogger\fP コマンドが書かれたのは、カルフォルニア大学で、1983 | |
110 | + 年から 1993 年のことだった。その後、次の者たちが書き直した。 | |
111 | +-.MT kzak@redhat.com | |
112 | +-Karel Zak | |
113 | +-.ME , | |
114 | +-.MT rgerhards@adiscon.com | |
115 | +-Rainer Gerhards | |
116 | +-.ME | |
117 | +-及び | |
118 | +-.MT kerolasa@iki.fi | |
119 | +-Sami Kerola | |
120 | +-.ME . | |
121 | ++.PP | |
122 | ++Karel Zac <kzak@redhat.com> | |
123 | ++.br | |
124 | ++Rainer Gerhards <rgerhards@adiscon.com> | |
125 | ++.br | |
126 | ++Sami Kerola <kerolasa@iki.fi> | |
127 | + .SH 関連項目 | |
128 | + \fBjournalctl\fP(1), \fBsyslog\fP(3), \fBsystemd.journal\-fields\fP(7) | |
129 | + .SH 入手方法 | |
130 | +-この logger コマンドは Util\-linux パッケージの一部であり、 | |
131 | +-.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util\-linux/ | |
132 | +-Linux Kernel Archive | |
133 | +-.UE | |
134 | ++この logger コマンドは Util\-linux パッケージの一部であり、Linux Kernel Archive | |
135 | ++<https://www.kernel.org/pub/linux/utils/util\-linux/> | |
136 | + から入手できる。 |
@@ -0,0 +1,1079 @@ | ||
1 | +# SOME DESCRIPTIVE TITLE | |
2 | +# Copyright (C) YEAR Free Software Foundation, Inc. | |
3 | +# This file is distributed under the same license as the PACKAGE package. | |
4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
5 | +# | |
6 | +msgid "" | |
7 | +msgstr "" | |
8 | +"Project-Id-Version: PACKAGE VERSION\n" | |
9 | +"POT-Creation-Date: 2020-11-07 08:53+0900\n" | |
10 | +"PO-Revision-Date: 2020-12-21 12:49+0900\n" | |
11 | +"Last-Translator: Chonan Yoichi <cyoichi@maple.ocn.ne.jp>\n" | |
12 | +"Language-Team: Linux JM project <linuxjm-discuss@lists.osdn.me>\n" | |
13 | +"Language: ja\n" | |
14 | +"MIME-Version: 1.0\n" | |
15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
16 | +"Content-Transfer-Encoding: 8bit\n" | |
17 | + | |
18 | +#. type: TH | |
19 | +#: logger.1:34 | |
20 | +#, no-wrap | |
21 | +msgid "LOGGER" | |
22 | +msgstr "LOGGER" | |
23 | + | |
24 | +#. type: TH | |
25 | +#: logger.1:34 | |
26 | +#, no-wrap | |
27 | +msgid "November 2015" | |
28 | +msgstr "November 2015" | |
29 | + | |
30 | +#. type: TH | |
31 | +#: logger.1:34 | |
32 | +#, no-wrap | |
33 | +msgid "util-linux" | |
34 | +msgstr "util-linux" | |
35 | + | |
36 | +#. type: TH | |
37 | +#: logger.1:34 | |
38 | +#, no-wrap | |
39 | +msgid "User Commands" | |
40 | +msgstr "User Commands" | |
41 | + | |
42 | +#. type: SH | |
43 | +#: logger.1:35 | |
44 | +#, no-wrap | |
45 | +msgid "NAME" | |
46 | +msgstr "名前" | |
47 | + | |
48 | +#. type: Plain text | |
49 | +#: logger.1:37 | |
50 | +msgid "logger - enter messages into the system log" | |
51 | +msgstr "logger - システムログにメッセージを書き込む" | |
52 | + | |
53 | +#. type: SH | |
54 | +#: logger.1:37 | |
55 | +#, no-wrap | |
56 | +msgid "SYNOPSIS" | |
57 | +msgstr "書式" | |
58 | + | |
59 | +#. type: Plain text | |
60 | +#: logger.1:41 | |
61 | +msgid "B<logger> [options] [I<message>]" | |
62 | +msgstr "B<logger> [options] [I<message>]" | |
63 | + | |
64 | +#. type: SH | |
65 | +#: logger.1:41 | |
66 | +#, no-wrap | |
67 | +msgid "DESCRIPTION" | |
68 | +msgstr "説明" | |
69 | + | |
70 | +#. type: Plain text | |
71 | +#: logger.1:44 | |
72 | +msgid "B<logger> makes entries in the system log." | |
73 | +msgstr "B<logger> はシステムログにメッセージを記入する。" | |
74 | + | |
75 | +#. type: Plain text | |
76 | +#: logger.1:48 | |
77 | +msgid "" | |
78 | +"When the optional I<message> argument is present, it is written to the log. " | |
79 | +"If it is not present, and the B<-f> option is not given either, then " | |
80 | +"standard input is logged." | |
81 | +msgstr "" | |
82 | +"指定が任意の引き数 I<message>\n" | |
83 | +"が存在すれば、それがログに書き込まれる。引き数 I<message> が存在せず、B<-f>\n" | |
84 | +"オプションも指定されていない場合は、標準入力がログに記録される。\n" | |
85 | + | |
86 | +#. type: SH | |
87 | +#: logger.1:48 | |
88 | +#, no-wrap | |
89 | +msgid "OPTIONS" | |
90 | +msgstr "オプション" | |
91 | + | |
92 | +#. type: TP | |
93 | +#: logger.1:49 | |
94 | +#, no-wrap | |
95 | +msgid "B<-d>,B< --udp>" | |
96 | +msgstr "B<-d>,B< --udp>" | |
97 | + | |
98 | +#. type: Plain text | |
99 | +#: logger.1:53 | |
100 | +msgid "" | |
101 | +"Use datagrams (UDP) only. By default the connection is tried to the syslog " | |
102 | +"port defined in /etc/services, which is often 514 ." | |
103 | +msgstr "" | |
104 | +"データグラム (UDP) のみを使用する。デフォルトでは、\n" | |
105 | +"/etc/services で定義されている syslog\n" | |
106 | +"ポートに接続が試みられる。それは、たいてい 514 番である。\n" | |
107 | + | |
108 | +#. type: Plain text | |
109 | +#: logger.1:55 logger.1:277 | |
110 | +msgid "See also B<--server> and B<--socket> to specify where to connect." | |
111 | +msgstr "接続先の指定については、B<--server> や B<--socket> もご覧いただきたい。" | |
112 | + | |
113 | +#. type: TP | |
114 | +#: logger.1:55 | |
115 | +#, no-wrap | |
116 | +msgid "B<-e>,B< --skip-empty>" | |
117 | +msgstr "B<-e>,B< --skip-empty>" | |
118 | + | |
119 | +#. type: Plain text | |
120 | +#: logger.1:63 | |
121 | +msgid "" | |
122 | +"Ignore empty lines when processing files. An empty line is defined to be a " | |
123 | +"line without any characters. Thus a line consisting only of whitespace is " | |
124 | +"NOT considered empty. Note that when the B<--prio-prefix> option is " | |
125 | +"specified, the priority is not part of the line. Thus an empty line in this " | |
126 | +"mode is a line that does not have any characters after the priority prefix " | |
127 | +"(e.g., B<E<lt>13E<gt>>)." | |
128 | +msgstr "" | |
129 | +"ファイルを処理する際に空行を無視する。空行とは、文字を一つも含まない行のことである。\n" | |
130 | +"従って、ホワイトスペースのみからなる行は、\n" | |
131 | +"空行とはB<見なされない>。なお、B<--prio-prefix>\n" | |
132 | +"オプションが指定された場合、優先度指定の部分は行の一部ではないことに気を付けていただきたい。\n" | |
133 | +"つまり、このモードでの空行とは、優先度を表す接頭辞\n" | |
134 | +"(たとえば、B<E<lt>13E<gt>>) の後ろに文字が全く存在しない行のことである。\n" | |
135 | + | |
136 | +#. type: TP | |
137 | +#: logger.1:63 | |
138 | +#, no-wrap | |
139 | +msgid "B<-f>,B< --file >I<file>" | |
140 | +msgstr "B<-f>,B< --file >I<file>" | |
141 | + | |
142 | +#. type: Plain text | |
143 | +#: logger.1:67 | |
144 | +msgid "" | |
145 | +"Log the contents of the specified I<file>. This option cannot be combined " | |
146 | +"with a command-line message." | |
147 | +msgstr "" | |
148 | +"指定した I<file> の内容をログに記入する。\n" | |
149 | +"このオプションは、コマンドラインにおけるメッセージ指定と併用することができない。\n" | |
150 | + | |
151 | +#. type: TP | |
152 | +#: logger.1:67 | |
153 | +#, no-wrap | |
154 | +msgid "B<-i>" | |
155 | +msgstr "B<-i>" | |
156 | + | |
157 | +#. type: Plain text | |
158 | +#: logger.1:70 | |
159 | +msgid "Log the PID of the logger process with each line." | |
160 | +msgstr "各行に logger プロセスの PID を記入する。" | |
161 | + | |
162 | +#. type: TP | |
163 | +#: logger.1:70 | |
164 | +#, no-wrap | |
165 | +msgid "B<--id>[B<=>I<id>]" | |
166 | +msgstr "B<--id>[B<=>I<id>]" | |
167 | + | |
168 | +#. type: Plain text | |
169 | +#: logger.1:76 | |
170 | +msgid "" | |
171 | +"Log the PID of the logger process with each line. When the optional " | |
172 | +"argument I<id> is specified, then it is used instead of the logger command's " | |
173 | +"PID. The use of B<--id=$$> (PPID) is recommended in scripts that send " | |
174 | +"several messages." | |
175 | +msgstr "" | |
176 | +"各行に logger プロセスの PID を記入する。指定が任意の引き数 I<id>\n" | |
177 | +"を指定すると、それが logger コマンドの PID\n" | |
178 | +"の代わりに使用される。複数のメッセージを送出するスクリプトでは、B<--id=$$> (PPID)\n" | |
179 | +"を使用するとよい。\n" | |
180 | + | |
181 | +#. type: Plain text | |
182 | +#: logger.1:84 | |
183 | +msgid "" | |
184 | +"Note that the system logging infrastructure (for example B<systemd> when " | |
185 | +"listening on /dev/log) may follow local socket credentials to overwrite the " | |
186 | +"PID specified in the message. B<logger>(1) is able to set those socket " | |
187 | +"credentials to the given I<id>, but only if you have root permissions and a " | |
188 | +"process with the specified PID exists, otherwise the socket credentials are " | |
189 | +"not modified and the problem is silently ignored." | |
190 | +msgstr "" | |
191 | +"なお、システムのロギングを下支えしているものが (たとえば、\n" | |
192 | +"/dev/log をリッスンしている B<systemd> が)、ローカルソケットの資格情報\n" | |
193 | +"(credentials) に従って、メッセージ中の指定された\n" | |
194 | +"PID を上書きしてしまうことがあるのに注意していただきたい。B<logger>\n" | |
195 | +"は、そうしたソケットの資格情報の値を、指定された I<id>\n" | |
196 | +"にすることができるわけだが、それは、ユーザがルート権限を持ち、しかも指定された\n" | |
197 | +"PID を持つプロセスが存在するときだけであって、\n" | |
198 | +"さもなければ、ソケットの資格情報は変更されず、その問題は暗黙裡に無視されるのである。\n" | |
199 | + | |
200 | +#. type: TP | |
201 | +#: logger.1:84 | |
202 | +#, no-wrap | |
203 | +msgid "B<--journald>[B<=>I<file>]" | |
204 | +msgstr "B<--journald>[B<=>I<file>]" | |
205 | + | |
206 | +#. type: Plain text | |
207 | +#: logger.1:92 | |
208 | +msgid "" | |
209 | +"Write a systemd journal entry. The entry is read from the given I<file>, " | |
210 | +"when specified, otherwise from standard input. Each line must begin with a " | |
211 | +"field that is accepted by journald; see B<systemd.journal-fields>(7) for " | |
212 | +"details. The use of a MESSAGE_ID field is generally a good idea, as it " | |
213 | +"makes finding entries easy. Examples:" | |
214 | +msgstr "" | |
215 | +"systemd のジャーナルに書き込みをする。記入事項 (entry) は、I<file>\n" | |
216 | +"を指定していれば、そのファイルから読み込まれ、指定していなければ、標準入力から読み込まれる。\n" | |
217 | +"各行は、journald の解するフィールドで始まっていなければならない。詳細については\n" | |
218 | +"B<systemd.journal-fields>(7) をご覧いただきたい。MESSAGE_ID\n" | |
219 | +"フィールドを使用するのは、記入事項の検索を容易にするので、一般によい考えである。\n" | |
220 | +"例を二つ挙げよう。\n" | |
221 | + | |
222 | +#. type: Plain text | |
223 | +#: logger.1:100 | |
224 | +#, no-wrap | |
225 | +msgid "" | |
226 | +" B<logger --journald E<lt>E<lt>end\n" | |
227 | +" MESSAGE_ID=67feb6ffbaf24c5cbec13c008dd72309\n" | |
228 | +" MESSAGE=The dogs bark, but the caravan goes on.\n" | |
229 | +" DOGS=bark\n" | |
230 | +" CARAVAN=goes on\n" | |
231 | +" end>\n" | |
232 | +msgstr "" | |
233 | +" B<logger --journald E<lt>E<lt>end\n" | |
234 | +" MESSAGE_ID=67feb6ffbaf24c5cbec13c008dd72309\n" | |
235 | +" MESSAGE=The dogs bark, but the caravan goes on.\n" | |
236 | +" DOGS=bark\n" | |
237 | +" CARAVAN=goes on\n" | |
238 | +" end>\n" | |
239 | + | |
240 | +#. type: Plain text | |
241 | +#: logger.1:102 | |
242 | +#, no-wrap | |
243 | +msgid " B<logger --journald=entry.txt>\n" | |
244 | +msgstr " B<logger --journald=entry.txt>\n" | |
245 | + | |
246 | +#. type: Plain text | |
247 | +#: logger.1:113 | |
248 | +msgid "" | |
249 | +"Notice that B<--journald> will ignore values of other options, such as " | |
250 | +"priority. If priority is needed it must be within input, and use PRIORITY " | |
251 | +"field. The simple execution of B<journalctl> will display MESSAGE field. " | |
252 | +"Use B<journalctl --output json-pretty> to see rest of the fields." | |
253 | +msgstr "" | |
254 | +"B<--journald> は、たとえば優先度 (priority)\n" | |
255 | +"のような、他のオプションの値を無視することに注意していただきたい。\n" | |
256 | +"だから、優先度が必要なら、それを入力に含めなければならない。つまり、PRIORITY\n" | |
257 | +"フィールドを使用するのである。なお、単に B<journalctl> を実行するだけだと、MESSAGE\n" | |
258 | +"フィールドしか表示されない。残りのフィールドも見るには、B<journalctl\n" | |
259 | +"--output json-pretty> を使用すればよい。\n" | |
260 | + | |
261 | +#. type: Plain text | |
262 | +#: logger.1:117 | |
263 | +msgid "" | |
264 | +"To include newlines in MESSAGE, specify MESSAGE several times. This is " | |
265 | +"handled as a special case, other fields will be stored as an array in the " | |
266 | +"journal if they appear multiple times." | |
267 | +msgstr "" | |
268 | +"MESSAGE に改行を入れるには (訳注: 言い換えれば、複数行にするには)、MESSAGE\n" | |
269 | +"を複数回指定する。これは、特例処理であり、複数回現れるのが他のフィールドの場合は、配列として\n" | |
270 | +"journal に格納されることになる。\n" | |
271 | + | |
272 | +#. type: TP | |
273 | +#: logger.1:117 | |
274 | +#, no-wrap | |
275 | +msgid "B<--msgid>I< msgid>" | |
276 | +msgstr "B<--msgid>I< msgid>" | |
277 | + | |
278 | +#. type: Plain text | |
279 | +#: logger.1:122 | |
280 | +msgid "" | |
281 | +"Sets the RFC5424 MSGID field. Note that the space character is not " | |
282 | +"permitted inside of I<msgid>. This option is only used if B<--rfc5424> is " | |
283 | +"specified as well; otherwise, it is silently ignored." | |
284 | +msgstr "" | |
285 | +"RFC5424 の MSGID フィールドを指定する。I<msgid>\n" | |
286 | +"内ではスペース文字が使えないことに注意していただきたい。\n" | |
287 | +"このオプションが有効なのは、B<--rfc5424> も一緒に指定したときだけである。\n" | |
288 | +"そうでない場合は、黙って無視される。\n" | |
289 | + | |
290 | +#. type: TP | |
291 | +#: logger.1:122 | |
292 | +#, no-wrap | |
293 | +msgid "B<-n>,B< --server >I<server>" | |
294 | +msgstr "B<-n>,B< --server >I<server>" | |
295 | + | |
296 | +#. type: Plain text | |
297 | +#: logger.1:129 | |
298 | +msgid "" | |
299 | +"Write to the specified remote syslog I<server> instead of to the system log " | |
300 | +"socket. Unless B<--udp> or B<--tcp> is specified, B<logger> will first try " | |
301 | +"to use UDP, but if this fails a TCP connection is attempted." | |
302 | +msgstr "" | |
303 | +"システムログのソケットではなく、指定されたリモートの syslog サーバ、I<server>\n" | |
304 | +"に書き込む。 B<--udp> や B<--tcp> が指定されていない場合、B<logger>\n" | |
305 | +"は、まず UDP を使用しようとし、それに失敗すると、TCP 接続を試みる。\n" | |
306 | + | |
307 | +#. type: TP | |
308 | +#: logger.1:129 | |
309 | +#, no-wrap | |
310 | +msgid "B<--no-act>" | |
311 | +msgstr "B<--no-act>" | |
312 | + | |
313 | +#. type: Plain text | |
314 | +#: logger.1:134 | |
315 | +msgid "" | |
316 | +"Causes everything to be done except for writing the log message to the " | |
317 | +"system log, and removing the connection or the journal. This option can be " | |
318 | +"used together with B<--stderr> for testing purposes." | |
319 | +msgstr "" | |
320 | +"ログメッセージをシステムログに書き込むこと以外のすべてを実行し、\n" | |
321 | +"その後、ジャーナルへの接続を切る。このオプションは、テストのために\n" | |
322 | +"B<--stderr> と一緒に使うことができる。\n" | |
323 | + | |
324 | +#. type: TP | |
325 | +#: logger.1:134 | |
326 | +#, no-wrap | |
327 | +msgid "B<--octet-count>" | |
328 | +msgstr "B<--octet-count>" | |
329 | + | |
330 | +#. type: Plain text | |
331 | +#: logger.1:139 | |
332 | +msgid "" | |
333 | +"Use the RFC 6587 octet counting framing method for sending messages. When " | |
334 | +"this option is not used, the default is no framing on UDP, and RFC6587 " | |
335 | +"non-transparent framing (also known as octet stuffing) on TCP." | |
336 | +msgstr "" | |
337 | +"メッセージの送信に RFC 6587 のオクテット計算フレーミングメソッド\n" | |
338 | +"(octet counting framing method)\n" | |
339 | +"を使用する。このオプションを使用しない場合、デフォルトのメソッドは、UDP\n" | |
340 | +"ではノーフレーミングであり、TCP では RFC6587 の非透過フレーミング\n" | |
341 | +"(octet stuffing としても知られる) である。\n" | |
342 | + | |
343 | +#. type: TP | |
344 | +#: logger.1:139 | |
345 | +#, no-wrap | |
346 | +msgid "B<-P>,B< --port >I<port>" | |
347 | +msgstr "B<-P>,B< --port >I<port>" | |
348 | + | |
349 | +#. type: Plain text | |
350 | +#: logger.1:143 | |
351 | +msgid "" | |
352 | +"Use the specified I<port>. When this option is not specified, the port " | |
353 | +"defaults to syslog for udp and to syslog-conn for tcp connections." | |
354 | +msgstr "" | |
355 | +"指定された I<port> を使用する。このオプションが指定されない場合、\n" | |
356 | +"ポートはデフォルトが使われる。すなわち、UDP接続では syslog、TCP\n" | |
357 | +"接続では syslog-conn である。\n" | |
358 | + | |
359 | +#. type: TP | |
360 | +#: logger.1:143 | |
361 | +#, no-wrap | |
362 | +msgid "B<-p>,B< --priority >I<priority>" | |
363 | +msgstr "B<-p>,B< --priority >I<priority>" | |
364 | + | |
365 | +#. type: Plain text | |
366 | +#: logger.1:152 | |
367 | +msgid "" | |
368 | +"Enter the message into the log with the specified I<priority>. The priority " | |
369 | +"may be specified numerically or as a I<facility>.I<level> pair. For " | |
370 | +"example, B<-p local3.info> logs the message as informational in the local3 " | |
371 | +"facility. The default is B<user.notice>." | |
372 | +msgstr "" | |
373 | +"指定された優先度 I<priority> でログにメッセージを記入する。\n" | |
374 | +"優先度は、数値で指定してもよく、I<facility>.I<level>\n" | |
375 | +"の組み合わせで指定してもよい。たとえば、B<-p local3.info>\n" | |
376 | +"と指定すると、ファシリティが local3、レベルは informational\n" | |
377 | +"としてメッセージが記録される。デフォルトは B<user.notice> である。\n" | |
378 | + | |
379 | +#. type: TP | |
380 | +#: logger.1:152 | |
381 | +#, no-wrap | |
382 | +msgid "B<--prio-prefix>" | |
383 | +msgstr "B<--prio-prefix>" | |
384 | + | |
385 | +#. type: Plain text | |
386 | +#: logger.1:159 | |
387 | +msgid "" | |
388 | +"Look for a syslog prefix on every line read from standard input. This " | |
389 | +"prefix is a decimal number within angle brackets that encodes both the " | |
390 | +"facility and the level. The number is constructed by multiplying the " | |
391 | +"facility by 8 and then adding the level. For example, B<local0.info>, " | |
392 | +"meaning facility=16 and level=6, becomes B<E<lt>134E<gt>>." | |
393 | +msgstr "" | |
394 | +"標準入力から読み込むすべての行で sysylog の接頭辞 (prefix)\n" | |
395 | +"を捜す。この接頭辞は、山かぎカッコ (E<lt>E<gt>) で囲まれた 10 進数であり、\n" | |
396 | +"ファシリティとレベルの両方をエンコードしたものである。数値は、ファシリティを\n" | |
397 | +"(訳注: その数値表現を) 8 倍し、それにレベルを加えて作る。たとえば、B<local0.info>\n" | |
398 | +"なら、ファシリティは 16、レベルは 6 なので B<E<lt>134E<gt>> になる。\n" | |
399 | + | |
400 | +#. type: Plain text | |
401 | +#: logger.1:163 | |
402 | +msgid "" | |
403 | +"If the prefix contains no facility, the facility defaults to what is " | |
404 | +"specified by the B<-p> option. Similarly, if no prefix is provided, the " | |
405 | +"line is logged using the I<priority> given with B<-p>." | |
406 | +msgstr "" | |
407 | +"接頭辞がファシリティを含んでいない場合、ファシリティは、B<-p>\n" | |
408 | +"オプションで指定したものがデフォルトである。\n" | |
409 | +"同様に、接頭辞が全く指定されていない場合、その行は、B<-p>\n" | |
410 | +"で指定された優先度 I<priority> を使ってログに記録される。\n" | |
411 | + | |
412 | +#. type: Plain text | |
413 | +#: logger.1:165 | |
414 | +msgid "This option doesn't affect a command-line message." | |
415 | +msgstr "このオプションは、コマンドライン引き数として指定したメッセージに対しては働かない。" | |
416 | + | |
417 | +#. type: TP | |
418 | +#: logger.1:165 | |
419 | +#, no-wrap | |
420 | +msgid "B<--rfc3164>" | |
421 | +msgstr "B<--rfc3164>" | |
422 | + | |
423 | +#. type: Plain text | |
424 | +#: logger.1:168 | |
425 | +msgid "Use the RFC 3164 BSD syslog protocol to submit messages to a remote server." | |
426 | +msgstr "リモートサーバにメッセージを送るのに RFC 3164 の BSD syslog プロトコルを使用する。" | |
427 | + | |
428 | +#. type: TP | |
429 | +#: logger.1:168 | |
430 | +#, no-wrap | |
431 | +msgid "B<--rfc5424>[B<=>I<without>]" | |
432 | +msgstr "B<--rfc5424>[B<=>I<without>]" | |
433 | + | |
434 | +#. type: Plain text | |
435 | +#: logger.1:173 | |
436 | +msgid "" | |
437 | +"Use the RFC 5424 syslog protocol to submit messages to a remote server. The " | |
438 | +"optional I<without> argument can be a comma-separated list of the following " | |
439 | +"values: B<notq>, B<notime>, B<nohost>." | |
440 | +msgstr "" | |
441 | +"リモートサーバにメッセージを送るのに RFC 5424 の syslog プロトコルを使用する。\n" | |
442 | +"指定が任意の I<without> という引き数には、B<notq>, B<notime>, B<nohost>\n" | |
443 | +"という値をコンマで区切ったリストが使用できる。\n" | |
444 | + | |
445 | +#. type: Plain text | |
446 | +#: logger.1:179 | |
447 | +msgid "" | |
448 | +"The B<notq> value suppresses the time-quality structured data from the " | |
449 | +"submitted message. The time-quality information shows whether the local " | |
450 | +"clock was synchronized plus the maximum number of microseconds the timestamp " | |
451 | +"might be off. The time quality is also automatically suppressed when " | |
452 | +"B<--sd-id timeQuality> is specified." | |
453 | +msgstr "" | |
454 | +"B<notq> という値は、送信するメッセージに時間品質構造化データ\n" | |
455 | +"(the time-quality structured data) を記入しないようにする。\n" | |
456 | +"この時間品質情報が示すのは、ローカルクロックが\n" | |
457 | +"(訳注: 信用できる外部の時刻サーバとメッセージ送信時に)\n" | |
458 | +"同期されていたかどうか、及び、タイムスタンプが (訳注: 同期と同期の間に)\n" | |
459 | +"ずれるかもしれない最大のマイクロセコンド数である。\n" | |
460 | +"時間品質は、B<--sd-id timeQuality> が指定された場合にも自動的に抑制される。\n" | |
461 | + | |
462 | +#. type: Plain text | |
463 | +#: logger.1:183 | |
464 | +msgid "" | |
465 | +"The B<notime> value (which implies B<notq>) suppresses the complete sender " | |
466 | +"timestamp that is in ISO-8601 format, including microseconds and timezone." | |
467 | +msgstr "" | |
468 | +"B<notime> という値は (暗黙裡に B<notq> も設定する)、ISO-8601\n" | |
469 | +"フォーマットの省略なしの送信側タイムスタンプを記入しないようにする。\n" | |
470 | +"マイクロセコンドやタイムゾーンを含むフォーマットのことである。\n" | |
471 | + | |
472 | +#. type: Plain text | |
473 | +#: logger.1:187 | |
474 | +msgid "" | |
475 | +"The B<nohost> value suppresses B<gethostname>(2) information from the " | |
476 | +"message header." | |
477 | +msgstr "" | |
478 | +"B<nohost> という値は、メッセージのヘッダに B<gethostname>(2)\n" | |
479 | +"の情報を入れないようにする。\n" | |
480 | + | |
481 | +#. type: Plain text | |
482 | +#: logger.1:191 | |
483 | +msgid "The RFC 5424 protocol has been the default for B<logger> since version 2.26." | |
484 | +msgstr "RFC 5424 プロトコルは、バージョン 2.26 以来、B<logger> のデフォルトになっている。\n" | |
485 | + | |
486 | +#. type: TP | |
487 | +#: logger.1:191 | |
488 | +#, no-wrap | |
489 | +msgid "B<-s>,B< --stderr>" | |
490 | +msgstr "B<-s>,B< --stderr>" | |
491 | + | |
492 | +#. type: Plain text | |
493 | +#: logger.1:194 | |
494 | +msgid "Output the message to standard error as well as to the system log." | |
495 | +msgstr "メッセージをシステムログだけでなく、標準エラーにも出力する。" | |
496 | + | |
497 | +#. type: TP | |
498 | +#: logger.1:194 | |
499 | +#, no-wrap | |
500 | +msgid "B<--sd-id >I<name>[B<@>I<digits>]" | |
501 | +msgstr "B<--sd-id >I<name>[B<@>I<digits>]" | |
502 | + | |
503 | +#. type: Plain text | |
504 | +#: logger.1:203 | |
505 | +msgid "" | |
506 | +"Specifies a structured data element ID for an RFC 5424 message header. The " | |
507 | +"option has to be used before B<--sd-param> to introduce a new element. The " | |
508 | +"number of structured data elements is unlimited. The ID (I<name> plus " | |
509 | +"possibly B<@>I<digits>) is case-sensitive and uniquely identifies the type " | |
510 | +"and purpose of the element. The same ID must not exist more than once in a " | |
511 | +"message. The B<@>I<digits> part is required for user-defined " | |
512 | +"non-standardized IDs." | |
513 | +msgstr "" | |
514 | +"RFC 5424 メッセージヘッダで使う構造化データ要素の識別名\n" | |
515 | +"(a structured data element ID)\n" | |
516 | +"を指定する。新しい要素を導入するには、このオプションを B<--sd-param>\n" | |
517 | +"の前で使わなければならない。構造化データ要素の数には上限がない。ID\n" | |
518 | +"(識別名。I<name> には B<@>I<digit> が続くこともある)\n" | |
519 | +"は、大文字小文字を区別し、要素のタイプと用途を一意に同定している。同じ\n" | |
520 | +"ID は、一つのメッセージに 1 回しか現れてはならない。B<@>I<digit>\n" | |
521 | +"の部分は、ユーザが定義した非標準的な ID では必須である。\n" | |
522 | + | |
523 | +#. type: Plain text | |
524 | +#: logger.1:209 | |
525 | +msgid "" | |
526 | +"B<logger> currently generates the B<timeQuality> standardized element only. " | |
527 | +"RFC 5424 also describes the elements B<origin> (with parameters ip, " | |
528 | +"enterpriseId, software and swVersion) and B<meta> (with parameters " | |
529 | +"sequenceId, sysUpTime and language). These element IDs may be specified " | |
530 | +"without the B<@>I<digits> suffix." | |
531 | +msgstr "" | |
532 | +"現在 B<logger> が (訳注: B<--rfc5424> オプションを指定したときにデフォルトで)\n" | |
533 | +"生成するのは、標準要素 B<timeQuality> のみである。RFC\n" | |
534 | +"5424 には、そのほか B<origin> 要素 と B<meta> 要素が記述されている\n" | |
535 | +"(前者には、ip, enterpriseId, software, swVersion\n" | |
536 | +"といったパラメータが、後者には、sequenceId, sysUpTime, language\n" | |
537 | +"といったパラメータがある)。こうした要素 ID は、B<@>I<digits>\n" | |
538 | +"という接尾辞なしで指定することができる。\n" | |
539 | + | |
540 | +#. type: TP | |
541 | +#: logger.1:210 | |
542 | +#, no-wrap | |
543 | +msgid "B<--sd-param >I<name>B<=\">I<value>B<\">" | |
544 | +msgstr "B<--sd-param >I<name>B<=\">I<value>B<\">" | |
545 | + | |
546 | +#. type: Plain text | |
547 | +#: logger.1:216 | |
548 | +msgid "" | |
549 | +"Specifies a structured data element parameter, a name and value pair. The " | |
550 | +"option has to be used after B<--sd-id> and may be specified more than once " | |
551 | +"for the same element. Note that the quotation marks around I<value> are " | |
552 | +"required and must be escaped on the command line." | |
553 | +msgstr "" | |
554 | +"構造化データ要素のパラメータを、名前と値の組み合わせで指定する。\n" | |
555 | +"このオプションを使うときは、B<--sd-id>\n" | |
556 | +"の後ろに置かなければならない。なお、同じ要素について、2\n" | |
557 | +"回以上指定することもできる。I<value>\n" | |
558 | +"を囲む引用符は必須であり、しかも、\n" | |
559 | +"コマンドライン上ではエスケープしなければならないことに注意していただきたい。\n" | |
560 | + | |
561 | +#. type: Plain text | |
562 | +#: logger.1:224 | |
563 | +#, no-wrap | |
564 | +msgid "" | |
565 | +" B<logger --rfc5424 --sd-id zoo@123 \\e\n" | |
566 | +" --sd-param tiger=\\e\"hungry\\e\" \\e\n" | |
567 | +" --sd-param zebra=\\e\"running\\e\" \\e\n" | |
568 | +" --sd-id manager@123 \\e\n" | |
569 | +" --sd-param onMeeting=\\e\"yes\\e\" \\e\n" | |
570 | +" \"this is message\">\n" | |
571 | +msgstr "" | |
572 | +" B<logger --rfc5424 --sd-id zoo@123 \\e\n" | |
573 | +" --sd-param tiger=\\e\"hungry\\e\" \\e\n" | |
574 | +" --sd-param zebra=\\e\"running\\e\" \\e\n" | |
575 | +" --sd-id manager@123 \\e\n" | |
576 | +" --sd-param onMeeting=\\e\"yes\\e\" \\e\n" | |
577 | +" \"this is message\">\n" | |
578 | + | |
579 | +#. type: Plain text | |
580 | +#: logger.1:227 | |
581 | +msgid "produces:" | |
582 | +msgstr "上のコマンドは、次のようなメッセージを生成する。" | |
583 | + | |
584 | +#. .nf | |
585 | +#. this long line gets cut of in the output of "troff", and wraps | |
586 | +#. in "nroff" | |
587 | +#. .fi | |
588 | +#. type: Plain text | |
589 | +#: logger.1:233 | |
590 | +#, no-wrap | |
591 | +msgid "" | |
592 | +" B<E<lt>13E<gt>1 2015-10-01T14:07:59.168662+02:00 ws kzak - - [timeQuality " | |
593 | +"tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"218616\"][zoo@123 " | |
594 | +"tiger=\"hungry\" zebra=\"running\"][manager@123 onMeeting=\"yes\"] this is " | |
595 | +"message>\n" | |
596 | +msgstr " B<E<lt>13E<gt>1 2015-10-01T14:07:59.168662+02:00 ws kzak - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"218616\"][zoo@123 tiger=\"hungry\" zebra=\"running\"][manager@123 onMeeting=\"yes\"] this is message>\n" | |
597 | + | |
598 | +#. type: TP | |
599 | +#: logger.1:233 | |
600 | +#, no-wrap | |
601 | +msgid "B<-S>,B< --size >I<size>" | |
602 | +msgstr "B<-S>,B< --size >I<size>" | |
603 | + | |
604 | +#. type: Plain text | |
605 | +#: logger.1:239 | |
606 | +msgid "" | |
607 | +"Sets the maximum permitted message size to I<size>. The default is 1KiB " | |
608 | +"characters, which is the limit traditionally used and specified in RFC " | |
609 | +"3164. With RFC 5424, this limit has become flexible. A good assumption is " | |
610 | +"that RFC 5424 receivers can at least process 4KiB messages." | |
611 | +msgstr "" | |
612 | +"メッセージの許可される最大のサイズを I<size> にする。デフォルトは、1KiB\n" | |
613 | +"の文字である。これは、昔から使われている上限であり、RFC 3167\n" | |
614 | +"で規定されている。なお、RFC 5424 で、この上限は融通が利くようになった。\n" | |
615 | +"受信側が RFC 5424 に準じているならば、少なくとも 4KiB\n" | |
616 | +"のメッセージを処理できると考えて、まず間違いがない。\n" | |
617 | + | |
618 | +#. type: Plain text | |
619 | +#: logger.1:243 | |
620 | +msgid "" | |
621 | +"Most receivers accept messages larger than 1KiB over any type of syslog " | |
622 | +"protocol. As such, the B<--size> option affects logger in all cases (not " | |
623 | +"only when B<--rfc5424> was used)." | |
624 | +msgstr "" | |
625 | +"どんなタイプの syslog プロトコルを使っていようと、たいていの受信側が\n" | |
626 | +"1 KiB より大きいメッセージを受け入れる。従って、この B<--size>\n" | |
627 | +"オプションが (B<--rfc5424> を使用した場合だけではなく)\n" | |
628 | +"あらゆる場合に logger に対して働くことになる。\n" | |
629 | + | |
630 | +#. type: Plain text | |
631 | +#: logger.1:251 | |
632 | +msgid "" | |
633 | +"Note: the message-size limit limits the overall message size, including the " | |
634 | +"syslog header. Header sizes vary depending on the selected options and the " | |
635 | +"hostname length. As a rule of thumb, headers are usually not longer than 50 " | |
636 | +"to 80 characters. When selecting a maximum message size, it is important to " | |
637 | +"ensure that the receiver supports the max size as well, otherwise messages " | |
638 | +"may become truncated. Again, as a rule of thumb two to four KiB message " | |
639 | +"size should generally be OK, whereas anything larger should be verified to " | |
640 | +"work." | |
641 | +msgstr "" | |
642 | +"注意: メッセージサイズの上限というのは、syslog\n" | |
643 | +"のヘッダを含む、メッセージサイズ全体の上限である。\n" | |
644 | +"ヘッダのサイズは、選択したオプションやホスト名の長さによって変わってくる。\n" | |
645 | +"大雑把に言って、ヘッダが 50 から 80 文字 (characters)\n" | |
646 | +"より長いことはあまりない。メッセージの最大ザイズを選択するときは、\n" | |
647 | +"受信側の方でもその最大サイズをサポートするようにしておくことが重要である。\n" | |
648 | +"さもないと、メッセージは、尻尾がちょん切られてしまうかもしれない。\n" | |
649 | +"もう一度大雑把に言うと、2 から 4 KiB\n" | |
650 | +"のメッセージサイズなら、たいてい問題がないはずだ。\n" | |
651 | +"それより大きい場合は、ちゃんと動作するか確認するべきである。\n" | |
652 | + | |
653 | +#. type: TP | |
654 | +#: logger.1:252 | |
655 | +#, no-wrap | |
656 | +msgid "B<--socket-errors>[B<=>I<mode>]" | |
657 | +msgstr "B<--socket-errors>[B<=>I<mode>]" | |
658 | + | |
659 | +#. type: Plain text | |
660 | +#: logger.1:264 | |
661 | +msgid "" | |
662 | +"Print errors about Unix socket connections. The I<mode> can be a value of " | |
663 | +"B<off>, B<on>, or B<auto>. When the mode is auto logger will detect if the " | |
664 | +"init process is systemd, and if so assumption is made /dev/log can be used " | |
665 | +"early at boot. Other init systems lack of /dev/log will not cause errors " | |
666 | +"that is identical with messaging using B<openlog>(3) system call. The " | |
667 | +"B<logger>(1) before version 2.26 used openlog, and hence was unable to " | |
668 | +"detected loss of messages sent to Unix sockets." | |
669 | +msgstr "" | |
670 | +"Unix ソケット接続に関するエラーを表示する。I<mode> の値は、B<off>, B<on>,\n" | |
671 | +"B<auto> の何れかである。I<mode> が B<auto> の場合、B<logger> は、init\n" | |
672 | +"プロセスが systemd かどうか検出しようとする。そして、もしそうならば、\n" | |
673 | +"/dev/log がブートの早い段階から使用可能になっていると想定する。\n" | |
674 | +"他の init システムで、/dev/log\n" | |
675 | +"を欠いている場合、ここで述べているようなエラーが起きることはない。そのへんは、openlog(3)\n" | |
676 | +"システムコールを使用するメッセージ処理と同じことである。B<logger>(1) も、\n" | |
677 | +"バージョン 2.26 より前は openlog を使用していた。そのため、Unix\n" | |
678 | +"ソケットに送信したメッセージが消失しても、当時は検出できなかったのである。\n" | |
679 | + | |
680 | +#. type: Plain text | |
681 | +#: logger.1:269 | |
682 | +msgid "" | |
683 | +"The default mode is B<auto>. When errors are not enabled lost messages are " | |
684 | +"not communicated and will result to successful exit status of B<logger>(1) " | |
685 | +"invocation." | |
686 | +msgstr "" | |
687 | +"デフォルトの mode は、B<auto>\n" | |
688 | +"である。エラー表示が有効ではないと、メッセージの消失があっても、通知されず、B<logger>\n" | |
689 | +"の実行は、成功のステータスで終わることになる。\n" | |
690 | + | |
691 | +#. type: TP | |
692 | +#: logger.1:269 | |
693 | +#, no-wrap | |
694 | +msgid "B<-T>,B< --tcp>" | |
695 | +msgstr "B<-T>,B< --tcp>" | |
696 | + | |
697 | +#. type: Plain text | |
698 | +#: logger.1:275 | |
699 | +msgid "" | |
700 | +"Use stream (TCP) only. By default the connection is tried to the " | |
701 | +"I<syslog-conn> port defined in /etc/services, which is often I<601>." | |
702 | +msgstr "" | |
703 | +"ストリーム (TCP) のみを使用する。デフォルトでは、/etc/service\n" | |
704 | +"で定義されている I<syslog-conn> ポートに接続が試みられる。それは、たいてい\n" | |
705 | +"I<601> 番である。\n" | |
706 | + | |
707 | +#. type: TP | |
708 | +#: logger.1:277 | |
709 | +#, no-wrap | |
710 | +msgid "B<-t>,B< --tag >I<tag>" | |
711 | +msgstr "B<-t>,B< --tag >I<tag>" | |
712 | + | |
713 | +#. type: Plain text | |
714 | +#: logger.1:283 | |
715 | +msgid "" | |
716 | +"Mark every line to be logged with the specified I<tag>. The default tag is " | |
717 | +"the name of the user logged in on the terminal (or a user name based on " | |
718 | +"effective user ID)." | |
719 | +msgstr "" | |
720 | +"ログに記録されるすべての行に I<tag>\n" | |
721 | +"という指標を付ける。デフォルトのタグは、端末にログインしているユーザの名前\n" | |
722 | +"(あるいは、実効ユーザ ID に基づいたユーザ名) である\n" | |
723 | + | |
724 | +#. type: TP | |
725 | +#: logger.1:283 | |
726 | +#, no-wrap | |
727 | +msgid "B<-u>,B< --socket >I<socket>" | |
728 | +msgstr "B<-u>,B< --socket >I<socket>" | |
729 | + | |
730 | +#. type: Plain text | |
731 | +#: logger.1:288 | |
732 | +msgid "Write to the specified I<socket> instead of to the system log socket." | |
733 | +msgstr "システムログのソケットの代わりに、指定された I<socket> に書き込む。" | |
734 | + | |
735 | +#. type: TP | |
736 | +#: logger.1:288 | |
737 | +#, no-wrap | |
738 | +msgid "B<-->" | |
739 | +msgstr "B<-->" | |
740 | + | |
741 | +#. type: Plain text | |
742 | +#: logger.1:292 | |
743 | +msgid "" | |
744 | +"End the argument list. This allows the I<message> to start with a hyphen " | |
745 | +"(-)." | |
746 | +msgstr "" | |
747 | +"引き数のリストの終わりを示す。これを使えば、I<message> をハイフン (-)\n" | |
748 | +"で始めることができる。" | |
749 | + | |
750 | +#. type: TP | |
751 | +#: logger.1:292 | |
752 | +#, no-wrap | |
753 | +msgid "B<-V>,B< --version>" | |
754 | +msgstr "B<-V>,B< --version>" | |
755 | + | |
756 | +#. type: Plain text | |
757 | +#: logger.1:295 | |
758 | +msgid "Display version information and exit." | |
759 | +msgstr "バージョン情報を表示して終了する。" | |
760 | + | |
761 | +#. type: TP | |
762 | +#: logger.1:295 | |
763 | +#, no-wrap | |
764 | +msgid "B<-h>,B< --help>" | |
765 | +msgstr "B<-h>,B< --help>" | |
766 | + | |
767 | +#. type: Plain text | |
768 | +#: logger.1:298 | |
769 | +msgid "Display help text and exit." | |
770 | +msgstr "ヘルプを表示して終了する。" | |
771 | + | |
772 | +#. type: SH | |
773 | +#: logger.1:298 | |
774 | +#, no-wrap | |
775 | +msgid "EXIT STATUS" | |
776 | +msgstr "終了ステータス" | |
777 | + | |
778 | +#. type: Plain text | |
779 | +#: logger.1:302 | |
780 | +msgid "The B<logger> utility exits 0 on success, and E<gt>0 if an error occurs." | |
781 | +msgstr "" | |
782 | +"B<logger> ユーティリティは、実行に成功すると、0\n" | |
783 | +"の終了ステータスで、エラーが起きた場合は、0 より大きい終了ステータスで終了する。" | |
784 | + | |
785 | +#. type: SH | |
786 | +#: logger.1:302 | |
787 | +#, no-wrap | |
788 | +msgid "FACILITIES AND LEVELS" | |
789 | +msgstr "ファシリティとレベル" | |
790 | + | |
791 | +#. type: Plain text | |
792 | +#: logger.1:304 | |
793 | +msgid "Valid facility names are:" | |
794 | +msgstr "有効なファシリティ名 (メッセージの分類):" | |
795 | + | |
796 | +#. type: tbl table | |
797 | +#: logger.1:309 | |
798 | +#, no-wrap | |
799 | +msgid "B<auth>" | |
800 | +msgstr "B<auth>(4)" | |
801 | + | |
802 | +#. type: tbl table | |
803 | +#: logger.1:310 | |
804 | +#, no-wrap | |
805 | +msgid "B<authpriv>:for security information of a sensitive nature" | |
806 | +msgstr "B<authpriv>(10):取り扱いに注意を要するセキュリティ情報用" | |
807 | + | |
808 | +#. type: tbl table | |
809 | +#: logger.1:311 | |
810 | +#, no-wrap | |
811 | +msgid "B<cron>" | |
812 | +msgstr "B<cron>(9)" | |
813 | + | |
814 | +#. type: tbl table | |
815 | +#: logger.1:312 | |
816 | +#, no-wrap | |
817 | +msgid "B<daemon>" | |
818 | +msgstr "B<daemon>(3)" | |
819 | + | |
820 | +#. type: tbl table | |
821 | +#: logger.1:313 | |
822 | +#, no-wrap | |
823 | +msgid "B<ftp>" | |
824 | +msgstr "B<ftp>(11)" | |
825 | + | |
826 | +#. type: tbl table | |
827 | +#: logger.1:314 | |
828 | +#, no-wrap | |
829 | +msgid "B<kern>:" | |
830 | +msgstr "B<kern>(0):" | |
831 | + | |
832 | +#. type: tbl table | |
833 | +#: logger.1:316 | |
834 | +#, no-wrap | |
835 | +msgid "" | |
836 | +"cannot be generated from userspace process, automatically converted to " | |
837 | +"B<user>\n" | |
838 | +msgstr "" | |
839 | +"ユーザスペースのプロセスからは生成できない。たとえ\n" | |
840 | +"B<kern> を指定しても、自動的に B<user> に変更される" | |
841 | + | |
842 | +#. type: tbl table | |
843 | +#: logger.1:317 | |
844 | +#, no-wrap | |
845 | +msgid "B<lpr>" | |
846 | +msgstr "B<lpr>(6)" | |
847 | + | |
848 | +#. type: tbl table | |
849 | +#: logger.1:318 | |
850 | +#, no-wrap | |
851 | +msgid "B<mail>" | |
852 | +msgstr "B<mail>(2)" | |
853 | + | |
854 | +#. type: tbl table | |
855 | +#: logger.1:319 | |
856 | +#, no-wrap | |
857 | +msgid "B<news>" | |
858 | +msgstr "B<news>(7)" | |
859 | + | |
860 | +#. type: tbl table | |
861 | +#: logger.1:320 | |
862 | +#, no-wrap | |
863 | +msgid "B<syslog>" | |
864 | +msgstr "B<syslog>(5)" | |
865 | + | |
866 | +#. type: tbl table | |
867 | +#: logger.1:321 | |
868 | +#, no-wrap | |
869 | +msgid "B<user>" | |
870 | +msgstr "B<user>(1)" | |
871 | + | |
872 | +#. type: tbl table | |
873 | +#: logger.1:322 | |
874 | +#, no-wrap | |
875 | +msgid "B<uucp>" | |
876 | +msgstr "B<uucp>(8)" | |
877 | + | |
878 | +#. type: tbl table | |
879 | +#: logger.1:323 | |
880 | +#, no-wrap | |
881 | +msgid "B<local0>" | |
882 | +msgstr "B<local0>(16)" | |
883 | + | |
884 | +#. type: tbl table | |
885 | +#: logger.1:324 | |
886 | +#, no-wrap | |
887 | +msgid "B< to:>" | |
888 | +msgstr "B< to:>" | |
889 | + | |
890 | +#. type: tbl table | |
891 | +#: logger.1:325 | |
892 | +#, no-wrap | |
893 | +msgid "B<local7>" | |
894 | +msgstr "B<local7>(23)" | |
895 | + | |
896 | +#. type: tbl table | |
897 | +#: logger.1:326 | |
898 | +#, no-wrap | |
899 | +msgid "B<security>:deprecated synonym for B<auth>" | |
900 | +msgstr "B<security>:B<auth> の同義語で、非推奨" | |
901 | + | |
902 | +#. type: Plain text | |
903 | +#: logger.1:330 | |
904 | +msgid "Valid level names are:" | |
905 | +msgstr "有効なレベル名 (重大度):" | |
906 | + | |
907 | +#. type: tbl table | |
908 | +#: logger.1:334 | |
909 | +#, no-wrap | |
910 | +msgid "B<emerg>" | |
911 | +msgstr "B<emerg>(0)" | |
912 | + | |
913 | +#. type: tbl table | |
914 | +#: logger.1:335 | |
915 | +#, no-wrap | |
916 | +msgid "B<alert>" | |
917 | +msgstr "B<alert>(1)" | |
918 | + | |
919 | +#. type: tbl table | |
920 | +#: logger.1:336 | |
921 | +#, no-wrap | |
922 | +msgid "B<crit>" | |
923 | +msgstr "B<crit>(2)" | |
924 | + | |
925 | +#. type: tbl table | |
926 | +#: logger.1:337 | |
927 | +#, no-wrap | |
928 | +msgid "B<err>" | |
929 | +msgstr "B<err>(3)" | |
930 | + | |
931 | +#. type: tbl table | |
932 | +#: logger.1:338 | |
933 | +#, no-wrap | |
934 | +msgid "B<warning>" | |
935 | +msgstr "B<warning>(4)" | |
936 | + | |
937 | +#. type: tbl table | |
938 | +#: logger.1:339 | |
939 | +#, no-wrap | |
940 | +msgid "B<notice>" | |
941 | +msgstr "B<notice>(5)" | |
942 | + | |
943 | +#. type: tbl table | |
944 | +#: logger.1:340 | |
945 | +#, no-wrap | |
946 | +msgid "B<info>" | |
947 | +msgstr "B<info>(6)" | |
948 | + | |
949 | +#. type: tbl table | |
950 | +#: logger.1:341 | |
951 | +#, no-wrap | |
952 | +msgid "B<debug>" | |
953 | +msgstr "B<debug>(7)" | |
954 | + | |
955 | +#. type: tbl table | |
956 | +#: logger.1:342 | |
957 | +#, no-wrap | |
958 | +msgid "B<panic>:deprecated synonym for B<emerg>" | |
959 | +msgstr "B<panic>:B<emerg> の同義語で、非推奨" | |
960 | + | |
961 | +#. type: tbl table | |
962 | +#: logger.1:343 | |
963 | +#, no-wrap | |
964 | +msgid "B<error>:deprecated synonym for B<err>" | |
965 | +msgstr "B<error>:B<err> の同義語で、非推奨" | |
966 | + | |
967 | +#. type: tbl table | |
968 | +#: logger.1:344 | |
969 | +#, no-wrap | |
970 | +msgid "B<warn>:deprecated synonym for B<warning>" | |
971 | +msgstr "B<warn>:B<warning> の同義語で、非推奨" | |
972 | + | |
973 | +#. type: Plain text | |
974 | +#: logger.1:349 | |
975 | +msgid "" | |
976 | +"For the priority order and intended purposes of these facilities and levels, " | |
977 | +"see B<syslog>(3)." | |
978 | +msgstr "" | |
979 | +"こうしたファシリティやレベルの優先順位や目的については、B<syslog>(3)\n" | |
980 | +"を参照していただきたい。" | |
981 | + | |
982 | +#. type: SH | |
983 | +#: logger.1:349 | |
984 | +#, no-wrap | |
985 | +msgid "CONFORMING TO" | |
986 | +msgstr "準拠" | |
987 | + | |
988 | +#. type: Plain text | |
989 | +#: logger.1:353 | |
990 | +msgid "" | |
991 | +"The B<logger> command is expected to be IEEE Std 1003.2 (\"POSIX.2\") " | |
992 | +"compatible." | |
993 | +msgstr "" | |
994 | +"この B<logger> コマンドは IEEE Std 1003.2 (\"POSIX.2\")\n" | |
995 | +"に準拠しているはずである。\n" | |
996 | + | |
997 | +#. type: SH | |
998 | +#: logger.1:353 | |
999 | +#, no-wrap | |
1000 | +msgid "EXAMPLES" | |
1001 | +msgstr "用例" | |
1002 | + | |
1003 | +#. type: Plain text | |
1004 | +#: logger.1:355 | |
1005 | +msgid "B<logger System rebooted>" | |
1006 | +msgstr "B<logger System rebooted>" | |
1007 | + | |
1008 | +#. type: Plain text | |
1009 | +#: logger.1:357 | |
1010 | +msgid "B<logger -p local0.notice -t HOSTIDM -f /dev/idmc>" | |
1011 | +msgstr "B<logger -p local0.notice -t HOSTIDM -f /dev/idmc>" | |
1012 | + | |
1013 | +#. type: Plain text | |
1014 | +#: logger.1:359 | |
1015 | +msgid "B<logger -n loghost.example.com System rebooted>" | |
1016 | +msgstr "B<logger -n loghost.example.com System rebooted>" | |
1017 | + | |
1018 | +#. type: SH | |
1019 | +#: logger.1:359 | |
1020 | +#, no-wrap | |
1021 | +msgid "AUTHORS" | |
1022 | +msgstr "作者" | |
1023 | + | |
1024 | +#. type: Plain text | |
1025 | +#: logger.1:365 | |
1026 | +msgid "" | |
1027 | +"The B<logger> command was originally written by University of California in " | |
1028 | +"1983-1993 and later rewritten by" | |
1029 | +msgstr "" | |
1030 | +"オリジナルの B<logger> コマンドが書かれたのは、カルフォルニア大学で、1983\n" | |
1031 | +"年から 1993 年のことだった。その後、次の者たちが書き直した。\n" | |
1032 | + | |
1033 | +#. type: Plain text | |
1034 | +#: logger.1:367 | |
1035 | +msgid "Karel Zak" | |
1036 | +msgstr "Karel Zak" | |
1037 | + | |
1038 | +#. type: Plain text | |
1039 | +#: logger.1:370 | |
1040 | +msgid "Rainer Gerhards" | |
1041 | +msgstr "Rainer Gerhards" | |
1042 | + | |
1043 | +#. type: Plain text | |
1044 | +#: logger.1:372 | |
1045 | +msgid "and" | |
1046 | +msgstr "及び" | |
1047 | + | |
1048 | +#. type: Plain text | |
1049 | +#: logger.1:374 | |
1050 | +msgid "Sami Kerola" | |
1051 | +msgstr "Sami Kerola" | |
1052 | + | |
1053 | +#. type: SH | |
1054 | +#: logger.1:375 | |
1055 | +#, no-wrap | |
1056 | +msgid "SEE ALSO" | |
1057 | +msgstr "関連項目" | |
1058 | + | |
1059 | +#. type: Plain text | |
1060 | +#: logger.1:379 | |
1061 | +msgid "B<journalctl>(1), B<syslog>(3), B<systemd.journal-fields>(7)" | |
1062 | +msgstr "B<journalctl>(1), B<syslog>(3), B<systemd.journal-fields>(7)" | |
1063 | + | |
1064 | +#. type: SH | |
1065 | +#: logger.1:379 | |
1066 | +#, no-wrap | |
1067 | +msgid "AVAILABILITY" | |
1068 | +msgstr "入手方法" | |
1069 | + | |
1070 | +#. type: Plain text | |
1071 | +#: logger.1:383 | |
1072 | +msgid "" | |
1073 | +"The logger command is part of the util-linux package and is available from " | |
1074 | +"E<.UR https://\\:www.kernel.org\\:/pub\\:/linux\\:/utils\\:/util-linux/> " | |
1075 | +"Linux Kernel Archive E<.UE .>" | |
1076 | +msgstr "" | |
1077 | +"この logger コマンドは Util-linux パッケージの一部であり、\n" | |
1078 | +"E<.UR https://\\:www.kernel.org\\:/pub\\:/linux\\:/utils\\:/util-linux/>\n" | |
1079 | +"Linux Kernel Archive E<.UE> から入手できる。\n" |
@@ -0,0 +1,29 @@ | ||
1 | +--- renice.1.orig 2020-12-14 15:30:33.092151248 +0900 | |
2 | ++++ renice.1 2020-12-14 15:47:24.010264787 +0900 | |
3 | +@@ -36,6 +36,15 @@ | |
4 | + .\" This file was generated with po4a. Translate the source file. | |
5 | + .\" | |
6 | + .\"******************************************************************* | |
7 | ++.\" | |
8 | ++.\" Japanese Version Copyright (c) 1998 Kanda Mitsuru | |
9 | ++.\" and 2020 Chonan Yoichi, | |
10 | ++.\" all rights reserved. | |
11 | ++.\" Translated Nov 6 JST 1998 | |
12 | ++.\" by Kanda Mitsuru <kanda@@nn.iij4u.or.jp> | |
13 | ++.\" Updated & Modified (util-linux 2.36) Mon Dec 14 15:47:04 JST 2020 | |
14 | ++.\" by Chonan Yoichi <cyoichi@maple.ocn.ne.jp> | |
15 | ++.\" | |
16 | + .TH RENICE 1 "July 2014" util\-linux "User Commands" | |
17 | + .SH 名前 | |
18 | + renice \- 動作中のプロセスの優先度を変更する | |
19 | +@@ -99,8 +108,6 @@ | |
20 | + \fBnice\fP(1), \fBchrt\fP(1), \fBgetpriority\fP(2), \fBsetpriority\fP(2), | |
21 | + \fBcredentials\fP(7), \fBsched\fP(7) | |
22 | + .SH 入手方法 | |
23 | +-この renice コマンドは、util\-linux パッケージの一部であり、 | |
24 | +-.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util\-linux/ | |
25 | +-Linux Kernel Archive | |
26 | +-.UE | |
27 | ++この renice コマンドは、util\-linux パッケージの一部であり、Linux Kernel Archive | |
28 | ++<https://www.kernel.org/pub/linux/utils/util\-linux/> | |
29 | + から入手できる。 |
@@ -0,0 +1,282 @@ | ||
1 | +# SOME DESCRIPTIVE TITLE | |
2 | +# Copyright (C) YEAR Free Software Foundation, Inc. | |
3 | +# This file is distributed under the same license as the PACKAGE package. | |
4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
5 | +# | |
6 | +msgid "" | |
7 | +msgstr "" | |
8 | +"Project-Id-Version: PACKAGE VERSION\n" | |
9 | +"POT-Creation-Date: 2020-11-07 08:54+0900\n" | |
10 | +"PO-Revision-Date: 2020-12-21 15:12+0900\n" | |
11 | +"Last-Translator: Chonan Yoichi <cyoichi@maple.ocn.ne.jp>\n" | |
12 | +"Language-Team: Linux JM project <linuxjm-discuss@lists.osdn.me>\n" | |
13 | +"Language: ja\n" | |
14 | +"MIME-Version: 1.0\n" | |
15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
16 | +"Content-Transfer-Encoding: 8bit\n" | |
17 | + | |
18 | +#. type: TH | |
19 | +#: renice.1:34 | |
20 | +#, no-wrap | |
21 | +msgid "RENICE" | |
22 | +msgstr "RENICE" | |
23 | + | |
24 | +#. type: TH | |
25 | +#: renice.1:34 | |
26 | +#, no-wrap | |
27 | +msgid "July 2014" | |
28 | +msgstr "July 2014" | |
29 | + | |
30 | +#. type: TH | |
31 | +#: renice.1:34 | |
32 | +#, no-wrap | |
33 | +msgid "util-linux" | |
34 | +msgstr "util-linux" | |
35 | + | |
36 | +#. type: TH | |
37 | +#: renice.1:34 | |
38 | +#, no-wrap | |
39 | +msgid "User Commands" | |
40 | +msgstr "User Commands" | |
41 | + | |
42 | +#. type: SH | |
43 | +#: renice.1:35 | |
44 | +#, no-wrap | |
45 | +msgid "NAME" | |
46 | +msgstr "名前" | |
47 | + | |
48 | +#. type: Plain text | |
49 | +#: renice.1:37 | |
50 | +msgid "renice - alter priority of running processes" | |
51 | +msgstr "renice - 動作中のプロセスの優先度を変更する" | |
52 | + | |
53 | +#. type: SH | |
54 | +#: renice.1:37 | |
55 | +#, no-wrap | |
56 | +msgid "SYNOPSIS" | |
57 | +msgstr "書式" | |
58 | + | |
59 | +#. type: Plain text | |
60 | +#: renice.1:43 | |
61 | +msgid "B<renice> [B<-n>] I<priority> [B<-g>|B<-p>|B<-u>] I<identifier>..." | |
62 | +msgstr "B<renice> [B<-n>] I<priority> [B<-g>|B<-p>|B<-u>] I<identifier>..." | |
63 | + | |
64 | +#. type: SH | |
65 | +#: renice.1:43 | |
66 | +#, no-wrap | |
67 | +msgid "DESCRIPTION" | |
68 | +msgstr "説明" | |
69 | + | |
70 | +#. type: Plain text | |
71 | +#: renice.1:55 | |
72 | +msgid "" | |
73 | +"B<renice> alters the scheduling priority of one or more running processes. " | |
74 | +"The first argument is the I<priority> value to be used. The other arguments " | |
75 | +"are interpreted as process IDs (by default), process group IDs, user IDs, or " | |
76 | +"user names. B<renice>'ing a process group causes all processes in the " | |
77 | +"process group to have their scheduling priority altered. B<renice>'ing a " | |
78 | +"user causes all processes owned by the user to have their scheduling " | |
79 | +"priority altered." | |
80 | +msgstr "" | |
81 | +"B<renice> は、動作中のプロセス (複数指定可) のスケジューリング優先度を変更する。\n" | |
82 | +"1 番目の引き数は、使用したい優先度 (I<priority>)\n" | |
83 | +"である。それ以外の引き数は、プロセス ID (デフォルト)、プロセスグループ ID、ユーザ ID、\n" | |
84 | +"ユーザ名と見なされる。プロセスグループを B<renice>\n" | |
85 | +"の対象にすると、そのプロセスグループに属するすべてのプロセスのスケジューリング優先度が変更される。\n" | |
86 | +"ユーザを対象にした場合は、そのユーザが所有するすべてのプロセスのスケジューリング優先度が変更される。\n" | |
87 | + | |
88 | +#. type: SH | |
89 | +#: renice.1:55 | |
90 | +#, no-wrap | |
91 | +msgid "OPTIONS" | |
92 | +msgstr "オプション" | |
93 | + | |
94 | +#. type: TP | |
95 | +#: renice.1:56 | |
96 | +#, no-wrap | |
97 | +msgid "B<-n>,B< --priority >I<priority>" | |
98 | +msgstr "B<-n>,B< --priority >I<priority>" | |
99 | + | |
100 | +#. type: Plain text | |
101 | +#: renice.1:63 | |
102 | +msgid "" | |
103 | +"Specify the scheduling I<priority> to be used for the process, process " | |
104 | +"group, or user. Use of the option B<-n> or B<--priority> is optional, but " | |
105 | +"when used it must be the first argument." | |
106 | +msgstr "" | |
107 | +"プロセス、プロセスグループ、もしくはユーザに対して使用したいスケジューリング優先度\n" | |
108 | +"I<priotity> を指定する。B<-n> や B<--priotity>\n" | |
109 | +"オプションの使用は任意だが、使用するなら、最初の引き数にしなければならない\n" | |
110 | +"(訳注: 実質的な最初の引き数は、常に優先度であり、その前に B<-n> や\n" | |
111 | +"B<--priority> を付けるか、付けないかは自由だということ)。\n" | |
112 | + | |
113 | +#. type: TP | |
114 | +#: renice.1:63 | |
115 | +#, no-wrap | |
116 | +msgid "B<-g>, B<--pgrp>" | |
117 | +msgstr "B<-g>, B<--pgrp>" | |
118 | + | |
119 | +#. type: Plain text | |
120 | +#: renice.1:66 | |
121 | +msgid "Interpret the succeeding arguments as process group IDs." | |
122 | +msgstr "後に続く引き数群をプロセスグループ ID と見なす。" | |
123 | + | |
124 | +#. type: TP | |
125 | +#: renice.1:66 | |
126 | +#, no-wrap | |
127 | +msgid "B<-p>, B<--pid>" | |
128 | +msgstr "B<-p>, B<--pid>" | |
129 | + | |
130 | +#. type: Plain text | |
131 | +#: renice.1:70 | |
132 | +msgid "Interpret the succeeding arguments as process IDs (the default)." | |
133 | +msgstr "後に続く引き数群をプロセス ID と見なす (デフォルト)。" | |
134 | + | |
135 | +#. type: TP | |
136 | +#: renice.1:70 | |
137 | +#, no-wrap | |
138 | +msgid "B<-u>, B<--user>" | |
139 | +msgstr "B<-u>, B<--user>" | |
140 | + | |
141 | +#. type: Plain text | |
142 | +#: renice.1:73 | |
143 | +msgid "Interpret the succeeding arguments as usernames or UIDs." | |
144 | +msgstr "後に続く引き数群をユーザー名、または UID と見なす。" | |
145 | + | |
146 | +#. type: TP | |
147 | +#: renice.1:73 | |
148 | +#, no-wrap | |
149 | +msgid "B<-V>,B< --version>" | |
150 | +msgstr "B<-V>,B< --version>" | |
151 | + | |
152 | +#. type: Plain text | |
153 | +#: renice.1:76 | |
154 | +msgid "Display version information and exit." | |
155 | +msgstr "バージョン情報を表示して終了する。" | |
156 | + | |
157 | +#. type: TP | |
158 | +#: renice.1:76 | |
159 | +#, no-wrap | |
160 | +msgid "B<-h>,B< --help>" | |
161 | +msgstr "B<-h>,B< --help>" | |
162 | + | |
163 | +#. type: Plain text | |
164 | +#: renice.1:79 | |
165 | +msgid "Display help text and exit." | |
166 | +msgstr "ヘルプを表示して終了する。" | |
167 | + | |
168 | +#. type: SH | |
169 | +#: renice.1:79 | |
170 | +#, no-wrap | |
171 | +msgid "FILES" | |
172 | +msgstr "ファイル" | |
173 | + | |
174 | +#. type: TP | |
175 | +#: renice.1:80 | |
176 | +#, no-wrap | |
177 | +msgid "I</etc/passwd>" | |
178 | +msgstr "I</etc/passwd>" | |
179 | + | |
180 | +#. type: Plain text | |
181 | +#: renice.1:83 | |
182 | +msgid "to map user names to user IDs" | |
183 | +msgstr "ユーザ名とユーザ ID を対応させている。" | |
184 | + | |
185 | +#. type: SH | |
186 | +#: renice.1:83 | |
187 | +#, no-wrap | |
188 | +msgid "NOTES" | |
189 | +msgstr "注意" | |
190 | + | |
191 | +#. type: Plain text | |
192 | +#: renice.1:93 | |
193 | +msgid "" | |
194 | +"Users other than the superuser may only alter the priority of processes they " | |
195 | +"own. Furthermore, an unprivileged user can only I<increase> the ``nice " | |
196 | +"value'' (i.e., choose a lower priority) and such changes are irreversible " | |
197 | +"unless (since Linux 2.6.12) the user has a suitable ``nice'' resource limit " | |
198 | +"(see B<ulimit>(1p) and B<getrlimit>(2))." | |
199 | +msgstr "" | |
200 | +"スーパーユーザ以外のユーザが変更できるのは、自分が所有するプロセスの優先度だけである。\n" | |
201 | +"それだけではない。非特権ユーザは、``nice 値'' を増やす (言い換えれば、優先度を下げる)\n" | |
202 | +"ことしかできず、そうした変更を元に戻すことすらできない。ただし、(Linux 2.6.12\n" | |
203 | +"以降で) ユーザが適切な ``nice''\n" | |
204 | +"リソースリミットを持っている場合は、そのかぎりではない\n" | |
205 | +"(B<ulimit>(1p), B<getrlimit>(2) を参照)。\n" | |
206 | + | |
207 | +#. type: Plain text | |
208 | +#: renice.1:99 | |
209 | +msgid "" | |
210 | +"The superuser may alter the priority of any process and set the priority to " | |
211 | +"any value in the range -20 to 19. Useful priorities are: 19 (the affected " | |
212 | +"processes will run only when nothing else in the system wants to), 0 (the " | |
213 | +"``base'' scheduling priority), anything negative (to make things go very " | |
214 | +"fast)." | |
215 | +msgstr "" | |
216 | +"スーパーユーザは、どんなプロセスの優先度でも変更できるし、優先度を -20 から 19\n" | |
217 | +"の範囲のどんな値にも設定することができる。有用な優先度には次のものがある。19\n" | |
218 | +"(この優先度を与えられたプロセスが動作するのは、\n" | |
219 | +"動作しようとする他のプロセスがシステム中に存在しないときだけになる)、0\n" | |
220 | +"(基本となるスケジューリング優先度)、負の数 (動作がきわめて速くなる)。\n" | |
221 | + | |
222 | +#. type: SH | |
223 | +#: renice.1:99 | |
224 | +#, no-wrap | |
225 | +msgid "HISTORY" | |
226 | +msgstr "歴史" | |
227 | + | |
228 | +#. type: Plain text | |
229 | +#: renice.1:103 | |
230 | +msgid "The B<renice> command appeared in 4.0BSD." | |
231 | +msgstr "B<renice> コマンドが初登場したのは、4.0BSD だった。" | |
232 | + | |
233 | +#. type: SH | |
234 | +#: renice.1:103 | |
235 | +#, no-wrap | |
236 | +msgid "EXAMPLES" | |
237 | +msgstr "用例" | |
238 | + | |
239 | +#. type: Plain text | |
240 | +#: renice.1:106 | |
241 | +msgid "" | |
242 | +"The following command would change the priority of the processes with PIDs " | |
243 | +"987 and 32, plus all processes owned by the users daemon and root:" | |
244 | +msgstr "" | |
245 | +"次のコマンドを使うと、PID が 987 と 32 のプロセス、及び daemon と root\n" | |
246 | +"ユーザの所有するすべてのプロセスの優先度を変更することになる。\n" | |
247 | + | |
248 | +#. type: TP | |
249 | +#: renice.1:106 | |
250 | +#, no-wrap | |
251 | +msgid "B<renice +1 987 -u daemon root -p 32>" | |
252 | +msgstr "B<renice +1 987 -u daemon root -p 32>" | |
253 | + | |
254 | +#. type: SH | |
255 | +#: renice.1:108 | |
256 | +#, no-wrap | |
257 | +msgid "SEE ALSO" | |
258 | +msgstr "関連項目" | |
259 | + | |
260 | +#. type: Plain text | |
261 | +#: renice.1:115 | |
262 | +msgid "" | |
263 | +"B<nice>(1), B<chrt>(1), B<getpriority>(2), B<setpriority>(2), " | |
264 | +"B<credentials>(7), B<sched>(7)" | |
265 | +msgstr "B<nice>(1), B<chrt>(1), B<getpriority>(2), B<setpriority>(2), B<credentials>(7), B<sched>(7)" | |
266 | + | |
267 | +#. type: SH | |
268 | +#: renice.1:115 | |
269 | +#, no-wrap | |
270 | +msgid "AVAILABILITY" | |
271 | +msgstr "入手方法" | |
272 | + | |
273 | +#. type: Plain text | |
274 | +#: renice.1:119 | |
275 | +msgid "" | |
276 | +"The renice command is part of the util-linux package and is available from " | |
277 | +"E<.UR https://\\:www.kernel.org\\:/pub\\:/linux\\:/utils\\:/util-linux/> " | |
278 | +"Linux Kernel Archive E<.UE .>" | |
279 | +msgstr "" | |
280 | +"この renice コマンドは、util-linux パッケージの一部であり、\n" | |
281 | +"E<.UR https://\\:www.kernel.org\\:/pub\\:/linux\\:/utils\\:/util-linux/>\n" | |
282 | +"Linux Kernel Archive E<.UE > から入手できる。\n" |
@@ -0,0 +1,40 @@ | ||
1 | +--- wall.1.orig 2020-12-21 15:05:08.379435444 +0900 | |
2 | ++++ wall.1 2020-12-21 15:08:01.103434863 +0900 | |
3 | +@@ -36,11 +36,26 @@ | |
4 | + .\" This file was generated with po4a. Translate the source file. | |
5 | + .\" | |
6 | + .\"******************************************************************* | |
7 | ++.\" | |
8 | ++.\" %FreeBSD: src/usr.bin/wall/wall.1,v 1.3.2.3 2001/10/05 15:21:42 ru Exp % | |
9 | ++.\" $FreeBSD$ | |
10 | ++.\" | |
11 | ++.\" Updated Wed May 11 JST 2005 by Kentaro Shirakata <argrath@ub32.org> | |
12 | ++.\" Updated & Modified (util-linux 2.36) Mon Dec 14 15:46:02 JST 2020 | |
13 | ++.\" by Yuichi SATO <ysato444@ybb.ne.jp> | |
14 | ++.\" and Yoichi Chonan <cyoichi@maple.ocn.ne.jp> | |
15 | ++.\" | |
16 | + .TH WALL 1 "August 2013" util\-linux "User Commands" | |
17 | + .SH 名前 | |
18 | + wall \- すべてのユーザに対してメッセージを書き込む | |
19 | + .SH 書式 | |
20 | + \fBwall\fP [\fB\-n\fP] [\fB\-t\fP \fItimeout\fP] [\fB\-g\fP \fIgroup\fP] [\fImessage\fP | \fIfile\fP] | |
21 | ++.SH 読者へのご注意 | |
22 | ++これは、util-linux 2.36 所収の \fBwall\fP | |
23 | ++コマンドのマニュアルである。お使いの \fBwall\fP が util-linux | |
24 | ++版以外の場合や、util-linux 版であっても、古いバージョンの場合は、この \fBwall\fP | |
25 | ++とは動作やオプションが違うかもしれない。そうしたときは、お手元の \fBwall\fP | |
26 | ++に付属する英語のマニュアルに当たってみていただきたい。 | |
27 | + .SH 説明 | |
28 | + \fBwall\fP コマンドは、現在ログインしているすべてのユーザの端末に、上記書式の | |
29 | + \fImessage\fP (訳注: 短文)、または \fIfile\fP | |
30 | +@@ -84,8 +99,6 @@ | |
31 | + .SH 関連項目 | |
32 | + \fBmesg\fP(1), \fBtalk\fP(1), \fBwrite\fP(1), \fBshutdown\fP(8) | |
33 | + .SH 入手方法 | |
34 | +-この wall コマンドは、util\-linux パッケージの一部であり、 | |
35 | +-.UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util\-linux/ | |
36 | +-Linux Kernel Archive | |
37 | +-.UE | |
38 | ++この wall コマンドは、util\-linux パッケージの一部であり、Linux Kernel Archive | |
39 | ++<https://www.kernel.org/pub/linux/utils/util\-linux/> | |
40 | + から入手できる。 |
@@ -0,0 +1,231 @@ | ||
1 | +# SOME DESCRIPTIVE TITLE | |
2 | +# Copyright (C) YEAR Free Software Foundation, Inc. | |
3 | +# This file is distributed under the same license as the PACKAGE package. | |
4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. | |
5 | +# | |
6 | +msgid "" | |
7 | +msgstr "" | |
8 | +"Project-Id-Version: PACKAGE VERSION\n" | |
9 | +"POT-Creation-Date: 2020-11-07 08:51+0900\n" | |
10 | +"PO-Revision-Date: 2020-12-21 15:04+0900\n" | |
11 | +"Last-Translator: Chonan Yoichi <cyoichi@maple.ocn.ne.jp>\n" | |
12 | +"Language-Team: Linux JM project <linuxjm-discuss@lists.osdn.me>\n" | |
13 | +"Language: ja\n" | |
14 | +"MIME-Version: 1.0\n" | |
15 | +"Content-Type: text/plain; charset=UTF-8\n" | |
16 | +"Content-Transfer-Encoding: 8bit\n" | |
17 | + | |
18 | +#. type: TH | |
19 | +#: wall.1:34 | |
20 | +#, no-wrap | |
21 | +msgid "WALL" | |
22 | +msgstr "WALL" | |
23 | + | |
24 | +#. type: TH | |
25 | +#: wall.1:34 | |
26 | +#, no-wrap | |
27 | +msgid "August 2013" | |
28 | +msgstr "August 2013" | |
29 | + | |
30 | +#. type: TH | |
31 | +#: wall.1:34 | |
32 | +#, no-wrap | |
33 | +msgid "util-linux" | |
34 | +msgstr "util-linux" | |
35 | + | |
36 | +#. type: TH | |
37 | +#: wall.1:34 | |
38 | +#, no-wrap | |
39 | +msgid "User Commands" | |
40 | +msgstr "User Commands" | |
41 | + | |
42 | +#. type: SH | |
43 | +#: wall.1:35 | |
44 | +#, no-wrap | |
45 | +msgid "NAME" | |
46 | +msgstr "名前" | |
47 | + | |
48 | +#. type: Plain text | |
49 | +#: wall.1:37 | |
50 | +msgid "wall - write a message to all users" | |
51 | +msgstr "wall - すべてのユーザに対してメッセージを書き込む" | |
52 | + | |
53 | +#. type: SH | |
54 | +#: wall.1:37 | |
55 | +#, no-wrap | |
56 | +msgid "SYNOPSIS" | |
57 | +msgstr "書式" | |
58 | + | |
59 | +#. type: Plain text | |
60 | +#: wall.1:45 | |
61 | +msgid "B<wall> [B<-n>] [B<-t> I<timeout>] [B<-g> I<group>] [I<message> | I<file>]" | |
62 | +msgstr "B<wall> [B<-n>] [B<-t> I<timeout>] [B<-g> I<group>] [I<message> | I<file>]" | |
63 | + | |
64 | +#. type: SH | |
65 | +#: wall.1:45 | |
66 | +#, no-wrap | |
67 | +msgid "DESCRIPTION" | |
68 | +msgstr "説明" | |
69 | + | |
70 | +#. type: Plain text | |
71 | +#: wall.1:55 | |
72 | +msgid "" | |
73 | +"B<wall> displays a I<message>, or the contents of a I<file>, or otherwise " | |
74 | +"its standard input, on the terminals of all currently logged in users. The " | |
75 | +"command will wrap lines that are longer than 79 characters. Short lines are " | |
76 | +"whitespace padded to have 79 characters. The command will always put a " | |
77 | +"carriage return and new line at the end of each line." | |
78 | +msgstr "" | |
79 | +"B<wall> コマンドは、現在ログインしているすべてのユーザの端末に、上記書式の\n" | |
80 | +"I<message> (訳注: 短文)、または I<file>\n" | |
81 | +"の内容を表示する。そうしたものの指定がない場合は、B<wall>\n" | |
82 | +"対する標準入力を表示する。B<wall> は、ASCII 文字で\n" | |
83 | +"79 字より長い行は折り返し、短い行は 79\n" | |
84 | +"字になるまでホワイトスペースで埋める。また、行の末尾に復帰文字と改行文字を必ず入れる。\n" | |
85 | + | |
86 | +#. type: Plain text | |
87 | +#: wall.1:58 | |
88 | +msgid "" | |
89 | +"Only the superuser can write on the terminals of users who have chosen to " | |
90 | +"deny messages or are using a program which automatically denies messages." | |
91 | +msgstr "" | |
92 | +"メッセージの受信拒否を選択しているユーザや、\n" | |
93 | +"メッセージの受信を機械的に拒否するプログラムを使っているユーザの端末に書き込めるのは、\n" | |
94 | +"スパーユーザだけである。" | |
95 | + | |
96 | +#. type: Plain text | |
97 | +#: wall.1:63 | |
98 | +msgid "" | |
99 | +"Reading from a I<file> is refused when the invoker is not superuser and the " | |
100 | +"program is set-user-ID or set-group-ID." | |
101 | +msgstr "" | |
102 | +"B<wall> を実行するのがスーパーユーザではない場合、B<wall>\n" | |
103 | +"プログラムに set-user-ID や set-group-ID が設定されていると、I<file>\n" | |
104 | +"からの読み込みは拒否される。\n" | |
105 | + | |
106 | +#. type: SH | |
107 | +#: wall.1:63 | |
108 | +#, no-wrap | |
109 | +msgid "OPTIONS" | |
110 | +msgstr "オプション" | |
111 | + | |
112 | +#. type: TP | |
113 | +#: wall.1:64 | |
114 | +#, no-wrap | |
115 | +msgid "B<-n>,B< --nobanner>" | |
116 | +msgstr "B<-n>,B< --nobanner>" | |
117 | + | |
118 | +#. type: Plain text | |
119 | +#: wall.1:67 | |
120 | +msgid "Suppress the banner." | |
121 | +msgstr "バナー (訳注: 発信者情報) を表示しない。" | |
122 | + | |
123 | +#. type: TP | |
124 | +#: wall.1:67 | |
125 | +#, no-wrap | |
126 | +msgid "B<-t>,B< --timeout >I<timeout>" | |
127 | +msgstr "B<-t>,B< --timeout >I<timeout>" | |
128 | + | |
129 | +#. type: Plain text | |
130 | +#: wall.1:73 | |
131 | +msgid "" | |
132 | +"Abandon the write attempt to the terminals after I<timeout> seconds. This " | |
133 | +"I<timeout> must be a positive integer. The default value is 300 seconds, " | |
134 | +"which is a legacy from the time when people ran terminals over modem lines." | |
135 | +msgstr "" | |
136 | +"端末への書き込みを I<timeout> 秒間試みてから、諦める。この I<timeout>\n" | |
137 | +"は、正の整数でなければならない。デフォルトの値は 300\n" | |
138 | +"秒だが、これは、モデム回線で端末を動かしていた時代の名残りである。\n" | |
139 | + | |
140 | +#. type: TP | |
141 | +#: wall.1:73 | |
142 | +#, no-wrap | |
143 | +msgid "B<-g>,B< --group >I<group>" | |
144 | +msgstr "B<-g>,B< --group >I<group>" | |
145 | + | |
146 | +#. type: Plain text | |
147 | +#: wall.1:78 | |
148 | +msgid "" | |
149 | +"Limit printing message to members of group defined as a I<group> argument. " | |
150 | +"The argument can be group name or GID." | |
151 | +msgstr "" | |
152 | +"メッセージの表示を、引き数 I<group> で指定されるグループのメンバーに限定する。\n" | |
153 | +"引き数は、グループ名でも GID でもよい。\n" | |
154 | + | |
155 | +#. type: TP | |
156 | +#: wall.1:78 | |
157 | +#, no-wrap | |
158 | +msgid "B<-V>,B< --version>" | |
159 | +msgstr "B<-V>,B< --version>" | |
160 | + | |
161 | +#. type: Plain text | |
162 | +#: wall.1:81 | |
163 | +msgid "Display version information and exit." | |
164 | +msgstr "バージョン情報を表示して終了する。" | |
165 | + | |
166 | +#. type: TP | |
167 | +#: wall.1:81 | |
168 | +#, no-wrap | |
169 | +msgid "B<-h>,B< --help>" | |
170 | +msgstr "B<-h>,B< --help>" | |
171 | + | |
172 | +#. type: Plain text | |
173 | +#: wall.1:84 | |
174 | +msgid "Display help text and exit." | |
175 | +msgstr "ヘルプを表示して終了する。" | |
176 | + | |
177 | +#. type: SH | |
178 | +#: wall.1:84 | |
179 | +#, no-wrap | |
180 | +msgid "NOTES" | |
181 | +msgstr "注意" | |
182 | + | |
183 | +#. type: Plain text | |
184 | +#: wall.1:90 | |
185 | +msgid "" | |
186 | +"Some sessions, such as wdm, that have in the beginning of B<utmp>(5) " | |
187 | +"ut_type data a ':' character will not get the message from B<wall>. This is " | |
188 | +"done to avoid write errors." | |
189 | +msgstr "" | |
190 | +"wdm がその一例だが、B<utmp>(5) の ut_type データの先頭に 1 個の ':'\n" | |
191 | +"文字を置く一部のセッションは、B<wall> のメッセージを受け取ろうとしない。\n" | |
192 | +"これは、書き込みエラーを避けるためである。\n" | |
193 | + | |
194 | +#. type: SH | |
195 | +#: wall.1:90 | |
196 | +#, no-wrap | |
197 | +msgid "HISTORY" | |
198 | +msgstr "歴史" | |
199 | + | |
200 | +#. type: Plain text | |
201 | +#: wall.1:94 | |
202 | +msgid "A B<wall> command appeared in Version 7 AT&T UNIX." | |
203 | +msgstr "B<wall> コマンドが初登場したのは、AT&T UNIX バージョン 7 だった。" | |
204 | + | |
205 | +#. type: SH | |
206 | +#: wall.1:94 | |
207 | +#, no-wrap | |
208 | +msgid "SEE ALSO" | |
209 | +msgstr "関連項目" | |
210 | + | |
211 | +#. type: Plain text | |
212 | +#: wall.1:99 | |
213 | +msgid "B<mesg>(1), B<talk>(1), B<write>(1), B<shutdown>(8)" | |
214 | +msgstr "B<mesg>(1), B<talk>(1), B<write>(1), B<shutdown>(8)" | |
215 | + | |
216 | +#. type: SH | |
217 | +#: wall.1:99 | |
218 | +#, no-wrap | |
219 | +msgid "AVAILABILITY" | |
220 | +msgstr "入手方法" | |
221 | + | |
222 | +#. type: Plain text | |
223 | +#: wall.1:103 | |
224 | +msgid "" | |
225 | +"The wall command is part of the util-linux package and is available from " | |
226 | +"E<.UR https://\\:www.kernel.org\\:/pub\\:/linux\\:/utils\\:/util-linux/> " | |
227 | +"Linux Kernel Archive E<.UE .>" | |
228 | +msgstr "" | |
229 | +"この wall コマンドは、util-linux パッケージの一部であり、\n" | |
230 | +"E<.UR https://\\:www.kernel.org\\:/pub\\:/linux\\:/utils\\:/util-linux/>\n" | |
231 | +"Linux Kernel Archive E<.UE> から入手できる。\n" |
@@ -31,8 +31,11 @@ | ||
31 | 31 | .\" |
32 | 32 | .\" @(#)logger.1 8.1 (Berkeley) 6/6/93 |
33 | 33 | .\" |
34 | -.\" Section on valid facitily and level strings added by | |
35 | -.\" and1000@debian.org, 26 Oct 1997. | |
34 | +.\"******************************************************************* | |
35 | +.\" | |
36 | +.\" This file was generated with po4a. Translate the source file. | |
37 | +.\" | |
38 | +.\"******************************************************************* | |
36 | 39 | .\" |
37 | 40 | .\" Translated Sat Aug 28 JST 1993 by NetBSD jman proj. <jman@spa.is.uec.ac.jp> |
38 | 41 | .\" Updated Sun Jun 18 JST 2000 by Kentaro Shirakata <argrath@ub32.org> |
@@ -41,96 +44,382 @@ | ||
41 | 44 | .\" Updated Sat Nov 17 15:05:36 JST 2001 |
42 | 45 | .\" by Yuichi SATO <ysato@h4.dion.ne.jp> |
43 | 46 | .\" Updated & Modified Sun Mar 2 16:39:57 JST 2003 by Yuichi SATO |
47 | +.\" Updated & Modified (util-linux 2.36) Mon Dec 14 15:44:47 JST 2020 | |
48 | +.\" by Yuichi SATO <ysato444@ybb.ne.jp> | |
49 | +.\" and Yoichi Chonan <cyoichi@maple.ocn.ne.jp> | |
44 | 50 | .\" |
45 | -.Dd June 6, 1993 | |
46 | -.Dt LOGGER 1 | |
47 | -.Os BSD 4.3 | |
48 | -.Sh 名前 | |
49 | -.Nm logger | |
50 | -.Nd syslog(3) システムログモジュールのシェルコマンドインターフェース | |
51 | -.Sh 書式 | |
52 | -.Nm logger | |
53 | -.Op Fl isd | |
54 | -.Op Fl f Ar file | |
55 | -.Op Fl p Ar pri | |
56 | -.Op Fl t Ar tag | |
57 | -.Op Fl u Ar socket | |
58 | -.Op Ar message ... | |
59 | -.Sh 説明 | |
60 | -.Nm logger | |
61 | -はシステムログにエントリを作成する。 | |
62 | -.Nm logger | |
63 | -は | |
64 | -.Xr syslog 3 | |
65 | -システムログモジュールのシェルコマンドインターフェースを提供する。 | |
66 | -.Pp | |
67 | -オプション: | |
68 | -.Pp | |
69 | -.Bl -tag -width "message" | |
70 | -.It Fl i | |
71 | -各行に logger プロセスのプロセス ID を記録する。 | |
72 | -.It Fl s | |
73 | -システムログに記録したメッセージを標準エラー出力にも出力する。 | |
74 | -.It Fl f Ar file | |
75 | -指定したファイルの内容を記録する。 | |
76 | -.It Fl p Ar pri | |
77 | -メッセージを指定した優先度 (priority) で登録する。 | |
78 | -優先度は数値もしくは ``機能分類.重要度'' の組で指定する。 | |
79 | -例えば、``\-p local3.info'' は、重要度 | |
80 | -.Ar info Ns rmational | |
81 | -機能分類 | |
82 | -.Ar local3 | |
83 | -としてメッセージを記録する。 | |
84 | -デフォルトは ``user.notice'' である。 | |
85 | -.It Fl t Ar tag | |
86 | -ログを出力する各行に、指定した | |
87 | -.Ar tag | |
88 | -を共に記録する。 | |
89 | -.It Fl u Ar sock | |
90 | -組み込みの syslog ルーチンの代わりに | |
91 | -.Ar sock | |
92 | -で指定されたソケットに出力する。 | |
93 | -.It Fl d | |
94 | -このソケットへのストリーム接続ではなく、データグラムを使う。 | |
95 | -.It -- | |
96 | -引数の終わり。 | |
97 | -.Ar message | |
98 | -をハイフン (\-) で始められるようにする。 | |
99 | -この機能はオリジナルの BSD logger コマンドにはない。 | |
100 | -GNU 拡張である。 | |
101 | -.It Ar message | |
102 | -log ファイルに書き込むメッセージ。これが指定されず、かつ | |
103 | -.Fl f | |
104 | -オプションも指定されなかった場合は、標準入力からの入力が記録される。 | |
105 | -.El | |
106 | -.Pp | |
107 | -.Nm logger | |
108 | -ユーティリティは成功した場合 0 を返し、エラーの場合は 0 より大きい値を返す。 | |
109 | -.Pp | |
110 | -指定できる機能分類名は以下の通り: | |
111 | -auth, authpriv (機密に関わる種類のセキュリティ情報), | |
112 | -cron, daemon, ftp, kern, lpr, mail, news, | |
113 | -security (auth の同義語。使わない方が良い), syslog, user, uucp と、 | |
114 | -local0 〜 local7。 | |
115 | -.Pp | |
116 | -指定できる重要度は以下の通り: | |
117 | -alert, crit, debug, emerg, err, error (err の同義語。使わない方が良い), | |
118 | -info, notice, panic (emerg の同義語。使わない方が良い), | |
119 | -warning, warn (warning の同義語。使わない方が良い)。 | |
120 | -これらの重要度の優先順位と意図する目的については、 | |
121 | -.Xr syslog 3 | |
122 | -を参照すること。 | |
123 | -.Sh 例 | |
124 | -.Bd -literal -offset indent -compact | |
125 | -logger System rebooted | |
51 | +.TH LOGGER 1 "November 2015" util\-linux "User Commands" | |
52 | +.SH 名前 | |
53 | +logger \- システムログにメッセージを書き込む | |
54 | +.SH 書式 | |
55 | +\fBlogger\fP [options] [\fImessage\fP] | |
56 | +.SH 説明 | |
57 | +\fBlogger\fP はシステムログにメッセージを記入する。 | |
58 | +.sp | |
59 | +指定が任意の引き数 \fImessage\fP | |
60 | +が存在すれば、それがログに書き込まれる。引き数 \fImessage\fP が存在せず、\fB\-f\fP | |
61 | +オプションも指定されていない場合は、標準入力がログに記録される。 | |
62 | +.SH オプション | |
63 | +.TP | |
64 | +\fB\-d\fP,\fB \-\-udp\fP | |
65 | +データグラム (UDP) のみを使用する。デフォルトでは、 | |
66 | +/etc/services で定義されている syslog | |
67 | +ポートに接続が試みられる。それは、たいてい 514 番である。 | |
68 | +.sp | |
69 | +接続先の指定については、\fB\-\-server\fP や \fB\-\-socket\fP もご覧いただきたい。 | |
70 | +.TP | |
71 | +\fB\-e\fP,\fB \-\-skip\-empty\fP | |
72 | +ファイルを処理する際に空行を無視する。空行とは、文字を一つも含まない行のことである。 | |
73 | +従って、ホワイトスペースのみからなる行は、 | |
74 | +空行とは\fB見なされない\fP。なお、\fB\-\-prio\-prefix\fP | |
75 | +オプションが指定された場合、優先度指定の部分は行の一部ではないことに気を付けていただきたい。 | |
76 | +つまり、このモードでの空行とは、優先度を表す接頭辞 | |
77 | +(たとえば、\fB<13>\fP) の後ろに文字が全く存在しない行のことである。 | |
78 | +.TP | |
79 | +\fB\-f\fP,\fB \-\-file \fP\fIfile\fP | |
80 | +指定した \fIfile\fP の内容をログに記入する。 | |
81 | +このオプションは、コマンドラインにおけるメッセージ指定と併用することができない。 | |
82 | +.TP | |
83 | +\fB\-i\fP | |
84 | +各行に logger プロセスの PID を記入する。 | |
85 | +.TP | |
86 | +\fB\-\-id\fP[\fB=\fP\fIid\fP] | |
87 | +各行に logger プロセスの PID を記入する。指定が任意の引き数 \fIid\fP | |
88 | +を指定すると、それが logger コマンドの PID | |
89 | +の代わりに使用される。複数のメッセージを送出するスクリプトでは、\fB\-\-id=$$\fP (PPID) | |
90 | +を使用するとよい。 | |
91 | + | |
92 | +なお、システムのロギングを下支えしているものが (たとえば、 | |
93 | +/dev/log をリッスンしている \fBsystemd\fP が)、ローカルソケットの資格情報 | |
94 | +(credentials) に従って、メッセージ中の指定された | |
95 | +PID を上書きしてしまうことがあるのに注意していただきたい。\fBlogger\fP | |
96 | +は、そうしたソケットの資格情報の値を、指定された \fIid\fP | |
97 | +にすることができるわけだが、それは、ユーザがルート権限を持ち、しかも指定された | |
98 | +PID を持つプロセスが存在するときだけであって、 | |
99 | +さもなければ、ソケットの資格情報は変更されず、その問題は暗黙裡に無視されるのである。 | |
100 | +.TP | |
101 | +\fB\-\-journald\fP[\fB=\fP\fIfile\fP] | |
102 | +systemd のジャーナルに書き込みをする。記入事項 (entry) は、\fIfile\fP | |
103 | +を指定していれば、そのファイルから読み込まれ、指定していなければ、標準入力から読み込まれる。 | |
104 | +各行は、journald の解するフィールドで始まっていなければならない。詳細については | |
105 | +\fBsystemd.journal\-fields\fP(7) をご覧いただきたい。MESSAGE_ID | |
106 | +フィールドを使用するのは、記入事項の検索を容易にするので、一般によい考えである。 | |
107 | +例を二つ挙げよう。 | |
108 | +.IP | |
109 | +.nf | |
110 | + \fBlogger \-\-journald <<end | |
111 | + MESSAGE_ID=67feb6ffbaf24c5cbec13c008dd72309 | |
112 | + MESSAGE=The dogs bark, but the caravan goes on. | |
113 | + DOGS=bark | |
114 | + CARAVAN=goes on | |
115 | + end\fP | |
116 | +.sp | |
117 | + \fBlogger \-\-journald=entry.txt\fP | |
118 | +.fi | |
119 | +.IP | |
120 | +\fB\-\-journald\fP は、たとえば優先度 (priority) | |
121 | +のような、他のオプションの値を無視することに注意していただきたい。 | |
122 | +だから、優先度が必要なら、それを入力に含めなければならない。つまり、PRIORITY | |
123 | +フィールドを使用するのである。なお、単に \fBjournalctl\fP を実行するだけだと、MESSAGE | |
124 | +フィールドしか表示されない。残りのフィールドも見るには、\fBjournalctl | |
125 | +\-\-output json\-pretty\fP を使用すればよい。 | |
126 | +.sp | |
127 | +MESSAGE に改行を入れるには (訳注: 言い換えれば、複数行にするには)、MESSAGE | |
128 | +を複数回指定する。これは、特例処理であり、複数回現れるのが他のフィールドの場合は、配列として | |
129 | +journal に格納されることになる。 | |
130 | +.TP | |
131 | +\fB\-\-msgid\fP\fI msgid\fP | |
132 | +RFC5424 の MSGID フィールドを指定する。\fImsgid\fP | |
133 | +内ではスペース文字が使えないことに注意していただきたい。 | |
134 | +このオプションが有効なのは、\fB\-\-rfc5424\fP も一緒に指定したときだけである。 | |
135 | +そうでない場合は、黙って無視される。 | |
136 | +.TP | |
137 | +\fB\-n\fP,\fB \-\-server \fP\fIserver\fP | |
138 | +システムログのソケットではなく、指定されたリモートの syslog サーバ、\fIserver\fP | |
139 | +に書き込む。 \fB\-\-udp\fP や \fB\-\-tcp\fP が指定されていない場合、\fBlogger\fP | |
140 | +は、まず UDP を使用しようとし、それに失敗すると、TCP 接続を試みる。 | |
141 | +.TP | |
142 | +\fB\-\-no\-act\fP | |
143 | +ログメッセージをシステムログに書き込むこと以外のすべてを実行し、 | |
144 | +その後、ジャーナルへの接続を切る。このオプションは、テストのために | |
145 | +\fB\-\-stderr\fP と一緒に使うことができる。 | |
146 | +.TP | |
147 | +\fB\-\-octet\-count\fP | |
148 | +メッセージの送信に RFC 6587 のオクテット計算フレーミングメソッド | |
149 | +(octet counting framing method) | |
150 | +を使用する。このオプションを使用しない場合、デフォルトのメソッドは、UDP | |
151 | +ではノーフレーミングであり、TCP では RFC6587 の非透過フレーミング | |
152 | +(octet stuffing としても知られる) である。 | |
153 | +.TP | |
154 | +\fB\-P\fP,\fB \-\-port \fP\fIport\fP | |
155 | +指定された \fIport\fP を使用する。このオプションが指定されない場合、 | |
156 | +ポートはデフォルトが使われる。すなわち、UDP接続では syslog、TCP | |
157 | +接続では syslog\-conn である。 | |
158 | +.TP | |
159 | +\fB\-p\fP,\fB \-\-priority \fP\fIpriority\fP | |
160 | +指定された優先度 \fIpriority\fP でログにメッセージを記入する。 | |
161 | +優先度は、数値で指定してもよく、\fIfacility\fP.\fIlevel\fP | |
162 | +の組み合わせで指定してもよい。たとえば、\fB\-p local3.info\fP | |
163 | +と指定すると、ファシリティが local3、レベルは informational | |
164 | +としてメッセージが記録される。デフォルトは \fBuser.notice\fP である。 | |
165 | +.RS | |
166 | +.IP "[\fB訳注\fP]" 8 | |
167 | +ファシリティ (facility) というのは、わかりにくい言葉だ。 | |
168 | +だが、logger コマンドでは、ファシリティの値のそれぞれを、出力するメッセージの分類 | |
169 | +(対象分野) ぐらいに考えておけばよいのではないかと思う。ファシリティが mail なら当然 | |
170 | +mail 関係だし、auth ならセキュリティや認証関係のメッセージということだ。user や | |
171 | +local は、その他といったところだろうか。レベル (level) は「重大度、深刻度」。 | |
172 | +そして、こうしたファシリティとレベルにより、\fI/etc/syslog.conf\fP | |
173 | +(または \fI/etc/rsyslog.conf\fP) | |
174 | +の設定に基づいて、出力先のログファイルが決まるわけである。 | |
175 | +.sp | |
176 | +ファシリティやレベルの数値による表現については、 | |
177 | +「\fBファシリティとレベル\fP」セクションをご覧いただきたい。 | |
178 | +.sp | |
179 | +なお、手元で試してみたところでは、この \fB\-\-priority\fP | |
180 | +オプションでは、レベルを数値で指定することはできるが、 | |
181 | +ファシリティを数値で指定することはできないようだ。 | |
182 | +数値をそのまま使うのも、\fB\-\-prio\-prefix\fP のように | |
183 | +8 倍してレベルを足すのも、うまく行かなかった。 | |
184 | +.RE | |
185 | +.TP | |
186 | +\fB\-\-prio\-prefix\fP | |
187 | +標準入力から読み込むすべての行で sysylog の接頭辞 (prefix) | |
188 | +を捜す。この接頭辞は、山かぎカッコ (<>) で囲まれた 10 進数であり、 | |
189 | +ファシリティとレベルの両方をエンコードしたものである。数値は、ファシリティを | |
190 | +(訳注: その数値表現を) 8 倍し、それにレベルを加えて作る。たとえば、\fBlocal0.info\fP | |
191 | +なら、ファシリティは 16、レベルは 6 なので \fB<134>\fP になる。 | |
192 | +.sp | |
193 | +接頭辞がファシリティを含んでいない場合、ファシリティは、\fB\-p\fP | |
194 | +オプションで指定したものがデフォルトである。 | |
195 | +同様に、接頭辞が全く指定されていない場合、その行は、\fB\-p\fP | |
196 | +で指定された優先度 \fIpriority\fP を使ってログに記録される。 | |
197 | +.sp | |
198 | +このオプションは、コマンドライン引き数として指定したメッセージに対しては働かない。 | |
199 | +.RS | |
200 | +.IP "[\fB訳注\fP]" 8 | |
201 | +別の角度から説明すると、 | |
202 | +これは、入力するメッセージの行中でファシリティとレベルを指定する方法だと言えるだろう。 | |
203 | +メッセージをファイル、または標準入力から入力するとき | |
204 | +(コマンドラインの引き数としてではない)、\fBlogger\fP コマンドに | |
205 | +\fB\-\-prio\-prefix\fP オプションを付け、メッセージ各行の行頭には | |
206 | +\fB<134>\fP などと書いておく。そうすると、\fBlogger\fP | |
207 | +がその行を優先度 \fBlocal0.info\fP | |
208 | +のメッセージなどと解釈して、適切なログファイルに送ってくれるのである。 | |
209 | +\fB<134>\fP などの接頭辞がログに書き込まれるわけではない。 | |
210 | +.RE | |
211 | +.TP | |
212 | +\fB\-\-rfc3164\fP | |
213 | +リモートサーバにメッセージを送るのに RFC 3164 の BSD syslog プロトコルを使用する。 | |
214 | +.TP | |
215 | +\fB\-\-rfc5424\fP[\fB=\fP\fIwithout\fP] | |
216 | +リモートサーバにメッセージを送るのに RFC 5424 の syslog プロトコルを使用する。 | |
217 | +指定が任意の \fIwithout\fP という引き数には、\fBnotq\fP, \fBnotime\fP, \fBnohost\fP | |
218 | +という値をコンマで区切ったリストが使用できる。 | |
219 | + | |
220 | +\fBnotq\fP という値は、送信するメッセージに時間品質構造化データ | |
221 | +(the time\-quality structured data) を記入しないようにする。 | |
222 | +この時間品質情報が示すのは、ローカルクロックが | |
223 | +(訳注: 信用できる外部の時刻サーバとメッセージ送信時に) | |
224 | +同期されていたかどうか、及び、タイムスタンプが (訳注: 同期と同期の間に) | |
225 | +ずれるかもしれない最大のマイクロセコンド数である。 | |
226 | +時間品質は、\fB\-\-sd\-id timeQuality\fP が指定された場合にも自動的に抑制される。 | |
227 | + | |
228 | +\fBnotime\fP という値は (暗黙裡に \fBnotq\fP も設定する)、ISO\-8601 | |
229 | +フォーマットの省略なしの送信側タイムスタンプを記入しないようにする。 | |
230 | +マイクロセコンドやタイムゾーンを含むフォーマットのことである。 | |
231 | + | |
232 | +\fBnohost\fP という値は、メッセージのヘッダに \fBgethostname\fP(2) | |
233 | +の情報を入れないようにする。 | |
234 | +.IP | |
235 | +RFC 5424 プロトコルは、バージョン 2.26 以来、\fBlogger\fP のデフォルトになっている。 | |
236 | +.TP | |
237 | +\fB\-s\fP,\fB \-\-stderr\fP | |
238 | +メッセージをシステムログだけでなく、標準エラーにも出力する。 | |
239 | +.TP | |
240 | +\fB\-\-sd\-id \fP\fIname\fP[\fB@\fP\fIdigits\fP] | |
241 | +RFC 5424 メッセージヘッダで使う構造化データ要素の識別名 | |
242 | +(a structured data element ID) | |
243 | +を指定する。新しい要素を導入するには、このオプションを \fB\-\-sd\-param\fP | |
244 | +の前で使わなければならない。構造化データ要素の数には上限がない。ID | |
245 | +(識別名。\fIname\fP には \fB@\fP\fIdigit\fP が続くこともある) | |
246 | +は、大文字小文字を区別し、要素のタイプと用途を一意に同定している。同じ | |
247 | +ID は、一つのメッセージに 1 回しか現れてはならない。\fB@\fP\fIdigit\fP | |
248 | +の部分は、ユーザが定義した非標準的な ID では必須である。 | |
249 | + | |
250 | +現在 \fBlogger\fP が (訳注: \fB\-\-rfc5424\fP オプションを指定したときにデフォルトで) | |
251 | +生成するのは、標準要素 \fBtimeQuality\fP のみである。RFC | |
252 | +5424 には、そのほか \fBorigin\fP 要素 と \fBmeta\fP 要素が記述されている | |
253 | +(前者には、ip, enterpriseId, software, swVersion | |
254 | +といったパラメータが、後者には、sequenceId, sysUpTime, language | |
255 | +といったパラメータがある)。こうした要素 ID は、\fB@\fP\fIdigits\fP | |
256 | +という接尾辞なしで指定することができる。 | |
257 | + | |
258 | +.TP | |
259 | +\fB\-\-sd\-param \fP\fIname\fP\fB="\fP\fIvalue\fP\fB"\fP | |
260 | +構造化データ要素のパラメータを、名前と値の組み合わせで指定する。 | |
261 | +このオプションを使うときは、\fB\-\-sd\-id\fP | |
262 | +の後ろに置かなければならない。なお、同じ要素について、2 | |
263 | +回以上指定することもできる。\fIvalue\fP | |
264 | +を囲む引用符は必須であり、しかも、 | |
265 | +コマンドライン上ではエスケープしなければならないことに注意していただきたい。 | |
266 | +.IP | |
267 | +.nf | |
268 | + \fBlogger \-\-rfc5424 \-\-sd\-id zoo@123 \e | |
269 | + \-\-sd\-param tiger=\e"hungry\e" \e | |
270 | + \-\-sd\-param zebra=\e"running\e" \e | |
271 | + \-\-sd\-id manager@123 \e | |
272 | + \-\-sd\-param onMeeting=\e"yes\e" \e | |
273 | + "this is message"\fP | |
274 | +.fi | |
275 | +.IP | |
276 | +上のコマンドは、次のようなメッセージを生成する。 | |
277 | +.IP | |
278 | +.\".nf | |
279 | +.\" this long line gets cut of in the output of "troff", and wraps | |
280 | +.\" in "nroff" | |
281 | +.\".fi | |
282 | + \fB<13>1 2015\-10\-01T14:07:59.168662+02:00 ws kzak \- \- [timeQuality tzKnown="1" isSynced="1" syncAccuracy="218616"][zoo@123 tiger="hungry" zebra="running"][manager@123 onMeeting="yes"] this is message\fP | |
283 | +.TP | |
284 | +\fB\-S\fP,\fB \-\-size \fP\fIsize\fP | |
285 | +メッセージの許可される最大のサイズを \fIsize\fP にする。デフォルトは、1KiB | |
286 | +の文字である。これは、昔から使われている上限であり、RFC 3167 | |
287 | +で規定されている。なお、RFC 5424 で、この上限は融通が利くようになった。 | |
288 | +受信側が RFC 5424 に準じているならば、少なくとも 4KiB | |
289 | +のメッセージを処理できると考えて、まず間違いがない。 | |
290 | + | |
291 | +どんなタイプの syslog プロトコルを使っていようと、たいていの受信側が | |
292 | +1 KiB より大きいメッセージを受け入れる。従って、この \fB\-\-size\fP | |
293 | +オプションが (\fB\-\-rfc5424\fP を使用した場合だけではなく) | |
294 | +あらゆる場合に logger に対して働くことになる。 | |
295 | + | |
296 | +注意: メッセージサイズの上限というのは、syslog | |
297 | +のヘッダを含む、メッセージサイズ全体の上限である。 | |
298 | +ヘッダのサイズは、選択したオプションやホスト名の長さによって変わってくる。 | |
299 | +大雑把に言って、ヘッダが 50 から 80 文字 (characters) | |
300 | +より長いことはあまりない。メッセージの最大ザイズを選択するときは、 | |
301 | +受信側の方でもその最大サイズをサポートするようにしておくことが重要である。 | |
302 | +さもないと、メッセージは、尻尾がちょん切られてしまうかもしれない。 | |
303 | +もう一度大雑把に言うと、2 から 4 KiB | |
304 | +のメッセージサイズなら、たいてい問題がないはずだ。 | |
305 | +それより大きい場合は、ちゃんと動作するか確認するべきである。 | |
126 | 306 | |
127 | -logger \-p local0.notice \-t HOSTIDM \-f /dev/idmc | |
128 | -.Ed | |
129 | -.Sh 関連項目 | |
130 | -.Xr syslog 3 , | |
131 | -.Xr syslogd 8 | |
132 | -.Sh 準拠 | |
133 | -.Nm logger | |
134 | -コマンドは | |
135 | -.St -p1003.2 | |
136 | -互換のはずである。 | |
307 | +.TP | |
308 | +\fB\-\-socket\-errors\fP[\fB=\fP\fImode\fP] | |
309 | +Unix ソケット接続に関するエラーを表示する。\fImode\fP の値は、\fBoff\fP, \fBon\fP, | |
310 | +\fBauto\fP の何れかである。\fImode\fP が \fBauto\fP の場合、\fBlogger\fP は、init | |
311 | +プロセスが systemd かどうか検出しようとする。そして、もしそうならば、 | |
312 | +/dev/log がブートの早い段階から使用可能になっていると想定する。 | |
313 | +他の init システムで、/dev/log | |
314 | +を欠いている場合、ここで述べているようなエラーが起きることはない。そのへんは、openlog(3) | |
315 | +システムコールを使用するメッセージ処理と同じことである。\fBlogger\fP(1) も、 | |
316 | +バージョン 2.26 より前は openlog を使用していた。そのため、Unix | |
317 | +ソケットに送信したメッセージが消失しても、当時は検出できなかったのである。 | |
318 | +.sp | |
319 | +デフォルトの mode は、\fBauto\fP | |
320 | +である。エラー表示が有効ではないと、メッセージの消失があっても、通知されず、\fBlogger\fP | |
321 | +の実行は、成功のステータスで終わることになる。 | |
322 | +.TP | |
323 | +\fB\-T\fP,\fB \-\-tcp\fP | |
324 | +ストリーム (TCP) のみを使用する。デフォルトでは、/etc/service | |
325 | +で定義されている \fIsyslog\-conn\fP ポートに接続が試みられる。それは、たいてい | |
326 | +\fI601\fP 番である。 | |
327 | +.sp | |
328 | +接続先の指定については、\fB\-\-server\fP や \fB\-\-socket\fP もご覧いただきたい。 | |
329 | +.TP | |
330 | +\fB\-t\fP,\fB \-\-tag \fP\fItag\fP | |
331 | +ログに記録されるすべての行に \fItag\fP | |
332 | +という指標を付ける。デフォルトのタグは、端末にログインしているユーザの名前 | |
333 | +(あるいは、実効ユーザ ID に基づいたユーザ名) である | |
334 | +.TP | |
335 | +\fB\-u\fP,\fB \-\-socket \fP\fIsocket\fP | |
336 | +システムログのソケットの代わりに、指定された \fIsocket\fP に書き込む。 | |
337 | +.TP | |
338 | +\fB\-\-\fP | |
339 | +引き数のリストの終わりを示す。これを使えば、\fImessage\fP をハイフン (\-) | |
340 | +で始めることができる。 | |
341 | +.TP | |
342 | +\fB\-V\fP,\fB \-\-version\fP | |
343 | +バージョン情報を表示して終了する。 | |
344 | +.TP | |
345 | +\fB\-h\fP,\fB \-\-help\fP | |
346 | +ヘルプを表示して終了する。 | |
347 | +.SH 終了ステータス | |
348 | +\fBlogger\fP ユーティリティは、実行に成功すると、0 | |
349 | +の終了ステータスで、エラーが起きた場合は、0 より大きい終了ステータスで終了する。 | |
350 | +.SH ファシリティとレベル | |
351 | +.IP "[\fB訳注\fP]" | |
352 | +以下、ファシリティやレベル名の後ろに、カッコに入れて、数値による表現を付けておく。 | |
353 | +こうした数値は、\fB\-\-prio\-prefix\fP で使用できる。 | |
354 | +.PP | |
355 | +有効なファシリティ名 (メッセージの分類): | |
356 | +.IP | |
357 | +.nr WI \n(.lu-\n(.iu-\w'\fBauthpriv\fR'u-3n | |
358 | +.TS | |
359 | +tab(:); | |
360 | +l lw(\n(WIu). | |
361 | +\fBauth\fP(4) | |
362 | +\fBauthpriv\fP(10):取り扱いに注意を要するセキュリティ情報用 | |
363 | +\fBcron\fP(9) | |
364 | +\fBdaemon\fP(3) | |
365 | +\fBftp\fP(11) | |
366 | +\fBkern\fP(0):T{ | |
367 | +ユーザスペースのプロセスからは生成できない。たとえ | |
368 | +\fBkern\fP を指定しても、自動的に \fBuser\fP に変更される | |
369 | +T} | |
370 | +\fBlpr\fP(6) | |
371 | +\fBmail\fP(2) | |
372 | +\fBnews\fP(7) | |
373 | +\fBsyslog\fP(5) | |
374 | +\fBuser\fP(1) | |
375 | +\fBuucp\fP(8) | |
376 | +\fBlocal0\fP(16) | |
377 | +\fB to:\fP | |
378 | +\fBlocal7\fP(23) | |
379 | +\fBsecurity\fP:\fBauth\fP の同義語で、非推奨 | |
380 | +.TE | |
381 | +.PP | |
382 | +有効なレベル名 (重大度): | |
383 | +.IP | |
384 | +.TS | |
385 | +tab(:); | |
386 | +l l. | |
387 | +\fBemerg\fP(0) | |
388 | +\fBalert\fP(1) | |
389 | +\fBcrit\fP(2) | |
390 | +\fBerr\fP(3) | |
391 | +\fBwarning\fP(4) | |
392 | +\fBnotice\fP(5) | |
393 | +\fBinfo\fP(6) | |
394 | +\fBdebug\fP(7) | |
395 | +\fBpanic\fP:\fBemerg\fP の同義語で、非推奨 | |
396 | +\fBerror\fP:\fBerr\fP の同義語で、非推奨 | |
397 | +\fBwarn\fP:\fBwarning\fP の同義語で、非推奨 | |
398 | +.TE | |
399 | +.PP | |
400 | +こうしたファシリティやレベルの優先順位や目的については、\fBsyslog\fP(3) | |
401 | +を参照していただきたい。 | |
402 | +.SH 準拠 | |
403 | +この \fBlogger\fP コマンドは IEEE Std 1003.2 ("POSIX.2") | |
404 | +に準拠しているはずである。 | |
405 | +.SH 用例 | |
406 | +\fBlogger System rebooted\fP | |
407 | +.br | |
408 | +\fBlogger \-p local0.notice \-t HOSTIDM \-f /dev/idmc\fP | |
409 | +.br | |
410 | +\fBlogger \-n loghost.example.com System rebooted\fP | |
411 | +.SH 作者 | |
412 | +オリジナルの \fBlogger\fP コマンドが書かれたのは、カルフォルニア大学で、1983 | |
413 | +年から 1993 年のことだった。その後、次の者たちが書き直した。 | |
414 | +.PP | |
415 | +Karel Zac <kzak@redhat.com> | |
416 | +.br | |
417 | +Rainer Gerhards <rgerhards@adiscon.com> | |
418 | +.br | |
419 | +Sami Kerola <kerolasa@iki.fi> | |
420 | +.SH 関連項目 | |
421 | +\fBjournalctl\fP(1), \fBsyslog\fP(3), \fBsystemd.journal\-fields\fP(7) | |
422 | +.SH 入手方法 | |
423 | +この logger コマンドは Util\-linux パッケージの一部であり、Linux Kernel Archive | |
424 | +<https://www.kernel.org/pub/linux/utils/util\-linux/> | |
425 | +から入手できる。 |
@@ -0,0 +1,113 @@ | ||
1 | +.\" Copyright (c) 1983, 1991, 1993 | |
2 | +.\" The Regents of the University of California. All rights reserved. | |
3 | +.\" | |
4 | +.\" Redistribution and use in source and binary forms, with or without | |
5 | +.\" modification, are permitted provided that the following conditions | |
6 | +.\" are met: | |
7 | +.\" 1. Redistributions of source code must retain the above copyright | |
8 | +.\" notice, this list of conditions and the following disclaimer. | |
9 | +.\" 2. Redistributions in binary form must reproduce the above copyright | |
10 | +.\" notice, this list of conditions and the following disclaimer in the | |
11 | +.\" documentation and/or other materials provided with the distribution. | |
12 | +.\" 3. All advertising materials mentioning features or use of this software | |
13 | +.\" must display the following acknowledgement: | |
14 | +.\" This product includes software developed by the University of | |
15 | +.\" California, Berkeley and its contributors. | |
16 | +.\" 4. Neither the name of the University nor the names of its contributors | |
17 | +.\" may be used to endorse or promote products derived from this software | |
18 | +.\" without specific prior written permission. | |
19 | +.\" | |
20 | +.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | |
21 | +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
22 | +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
23 | +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |
24 | +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
25 | +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
26 | +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
27 | +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
28 | +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
29 | +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
30 | +.\" SUCH DAMAGE. | |
31 | +.\" | |
32 | +.\" @(#)renice.8 8.1 (Berkeley) 6/9/93 | |
33 | +.\" | |
34 | +.\"******************************************************************* | |
35 | +.\" | |
36 | +.\" This file was generated with po4a. Translate the source file. | |
37 | +.\" | |
38 | +.\"******************************************************************* | |
39 | +.\" | |
40 | +.\" Japanese Version Copyright (c) 1998 Kanda Mitsuru | |
41 | +.\" and 2020 Chonan Yoichi, | |
42 | +.\" all rights reserved. | |
43 | +.\" Translated Nov 6 JST 1998 | |
44 | +.\" by Kanda Mitsuru <kanda@@nn.iij4u.or.jp> | |
45 | +.\" Updated & Modified (util-linux 2.36) Mon Dec 14 15:47:04 JST 2020 | |
46 | +.\" by Chonan Yoichi <cyoichi@maple.ocn.ne.jp> | |
47 | +.\" | |
48 | +.TH RENICE 1 "July 2014" util\-linux "User Commands" | |
49 | +.SH 名前 | |
50 | +renice \- 動作中のプロセスの優先度を変更する | |
51 | +.SH 書式 | |
52 | +\fBrenice\fP [\fB\-n\fP] \fIpriority\fP [\fB\-g\fP|\fB\-p\fP|\fB\-u\fP] \fIidentifier\fP... | |
53 | +.SH 説明 | |
54 | +\fBrenice\fP は、動作中のプロセス (複数指定可) のスケジューリング優先度を変更する。 | |
55 | +1 番目の引き数は、使用したい優先度 (\fIpriority\fP) | |
56 | +である。それ以外の引き数は、プロセス ID (デフォルト)、プロセスグループ ID、ユーザ ID、 | |
57 | +ユーザ名と見なされる。プロセスグループを \fBrenice\fP | |
58 | +の対象にすると、そのプロセスグループに属するすべてのプロセスのスケジューリング優先度が変更される。 | |
59 | +ユーザを対象にした場合は、そのユーザが所有するすべてのプロセスのスケジューリング優先度が変更される。 | |
60 | +.SH オプション | |
61 | +.TP | |
62 | +\fB\-n\fP,\fB \-\-priority \fP\fIpriority\fP | |
63 | +プロセス、プロセスグループ、もしくはユーザに対して使用したいスケジューリング優先度 | |
64 | +\fIpriotity\fP を指定する。\fB\-n\fP や \fB\-\-priotity\fP | |
65 | +オプションの使用は任意だが、使用するなら、最初の引き数にしなければならない | |
66 | +(訳注: 実質的な最初の引き数は、常に優先度であり、その前に \fB\-n\fP や | |
67 | +\fB\-\-priority\fP を付けるか、付けないかは自由だということ)。 | |
68 | +.TP | |
69 | +\fB\-g\fP, \fB\-\-pgrp\fP | |
70 | +後に続く引き数群をプロセスグループ ID と見なす。 | |
71 | +.TP | |
72 | +\fB\-p\fP, \fB\-\-pid\fP | |
73 | +後に続く引き数群をプロセス ID と見なす (デフォルト)。 | |
74 | +.TP | |
75 | +\fB\-u\fP, \fB\-\-user\fP | |
76 | +後に続く引き数群をユーザー名、または UID と見なす。 | |
77 | +.TP | |
78 | +\fB\-V\fP,\fB \-\-version\fP | |
79 | +バージョン情報を表示して終了する。 | |
80 | +.TP | |
81 | +\fB\-h\fP,\fB \-\-help\fP | |
82 | +ヘルプを表示して終了する。 | |
83 | +.SH ファイル | |
84 | +.TP | |
85 | +\fI/etc/passwd\fP | |
86 | +ユーザ名とユーザ ID を対応させている。 | |
87 | +.SH 注意 | |
88 | +スーパーユーザ以外のユーザが変更できるのは、自分が所有するプロセスの優先度だけである。 | |
89 | +それだけではない。非特権ユーザは、\*(lqnice 値\*(rq を増やす (言い換えれば、優先度を下げる) | |
90 | +ことしかできず、そうした変更を元に戻すことすらできない。ただし、(Linux 2.6.12 | |
91 | +以降で) ユーザが適切な \*(lqnice\*(rq | |
92 | +リソースリミットを持っている場合は、そのかぎりではない | |
93 | +(\fBulimit\fP(1p), \fBgetrlimit\fP(2) を参照)。 | |
94 | + | |
95 | +スーパーユーザは、どんなプロセスの優先度でも変更できるし、優先度を \-20 から 19 | |
96 | +の範囲のどんな値にも設定することができる。有用な優先度には次のものがある。19 | |
97 | +(この優先度を与えられたプロセスが動作するのは、 | |
98 | +動作しようとする他のプロセスがシステム中に存在しないときだけになる)、0 | |
99 | +(基本となるスケジューリング優先度)、負の数 (動作がきわめて速くなる)。 | |
100 | +.SH 歴史 | |
101 | +\fBrenice\fP コマンドが初登場したのは、4.0BSD だった。 | |
102 | +.SH 用例 | |
103 | +次のコマンドを使うと、PID が 987 と 32 のプロセス、及び daemon と root | |
104 | +ユーザの所有するすべてのプロセスの優先度を変更することになる。 | |
105 | +.TP | |
106 | +\fBrenice +1 987 \-u daemon root \-p 32\fP | |
107 | +.SH 関連項目 | |
108 | +\fBnice\fP(1), \fBchrt\fP(1), \fBgetpriority\fP(2), \fBsetpriority\fP(2), | |
109 | +\fBcredentials\fP(7), \fBsched\fP(7) | |
110 | +.SH 入手方法 | |
111 | +この renice コマンドは、util\-linux パッケージの一部であり、Linux Kernel Archive | |
112 | +<https://www.kernel.org/pub/linux/utils/util\-linux/> | |
113 | +から入手できる。 |
@@ -1,5 +1,5 @@ | ||
1 | -.\" Copyright (c) 1989, 1990, 1993 | |
2 | -.\" The Regents of the University of California. All rights reserved. | |
1 | +.\" Copyright (c) 1989, 1990 The Regents of the University of California. | |
2 | +.\" All rights reserved. | |
3 | 3 | .\" |
4 | 4 | .\" Redistribution and use in source and binary forms, with or without |
5 | 5 | .\" modification, are permitted provided that the following conditions |
@@ -29,43 +29,76 @@ | ||
29 | 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
30 | 30 | .\" SUCH DAMAGE. |
31 | 31 | .\" |
32 | -.\" @(#)wall.1 8.1 (Berkeley) 6/6/93 | |
32 | +.\" @(#)wall.1 6.5 (Berkeley) 4/23/91 | |
33 | 33 | .\" |
34 | -.\" Modified for Linux, Mon Mar 8 18:07:38 1993, faith@cs.unc.edu | |
34 | +.\"******************************************************************* | |
35 | +.\" | |
36 | +.\" This file was generated with po4a. Translate the source file. | |
37 | +.\" | |
38 | +.\"******************************************************************* | |
35 | 39 | .\" |
36 | 40 | .\" %FreeBSD: src/usr.bin/wall/wall.1,v 1.3.2.3 2001/10/05 15:21:42 ru Exp % |
37 | 41 | .\" $FreeBSD$ |
42 | +.\" | |
38 | 43 | .\" Updated Wed May 11 JST 2005 by Kentaro Shirakata <argrath@ub32.org> |
44 | +.\" Updated & Modified (util-linux 2.36) Mon Dec 14 15:46:02 JST 2020 | |
45 | +.\" by Yuichi SATO <ysato444@ybb.ne.jp> | |
46 | +.\" and Yoichi Chonan <cyoichi@maple.ocn.ne.jp> | |
39 | 47 | .\" |
40 | -.Dd March 8, 1993 | |
41 | -.Dt WALL 1 | |
42 | -.Os "Linux 0.99" | |
43 | -.Sh 名称 | |
44 | -.Nm wall | |
45 | -.Nd ログインしているユーザにメッセージを送る | |
46 | -.Sh 書式 | |
47 | -.Nm wall | |
48 | -.Op Ar file | |
49 | -.Sh 解説 | |
50 | -.Nm wall | |
51 | -は、デフォルトでは、標準入力の内容を現在ログインしているすべての | |
52 | -ユーザの端末に表示します。 | |
53 | -.Ar file | |
54 | -を指定すれば、その内容が表示されます。 | |
55 | -.Pp | |
56 | -スーパユーザだけが、メッセージを拒否しているユーザや | |
57 | -自動的にメッセージを拒否するプログラムを使っているユーザの端末にメッセージ | |
58 | -を送ることができます。 | |
59 | -.Pp | |
60 | -起動したのがスーパユーザか、プログラムが suid か sgid でない限り、 | |
61 | -ファイルからの読み込みは拒否されます。 | |
62 | -.Sh 関連項目 | |
63 | -.Xr mesg 1 , | |
64 | -.Xr talk 1 , | |
65 | -.Xr write 1 , | |
66 | -.Xr shutdown 8 | |
67 | -.Sh 歴史 | |
68 | -.Nm | |
69 | -コマンドは | |
70 | -.At v7 | |
71 | -ではじめて実装されました。 | |
48 | +.TH WALL 1 "August 2013" util\-linux "User Commands" | |
49 | +.SH 名前 | |
50 | +wall \- すべてのユーザに対してメッセージを書き込む | |
51 | +.SH 書式 | |
52 | +\fBwall\fP [\fB\-n\fP] [\fB\-t\fP \fItimeout\fP] [\fB\-g\fP \fIgroup\fP] [\fImessage\fP | \fIfile\fP] | |
53 | +.SH 読者へのご注意 | |
54 | +これは、util-linux 2.36 所収の \fBwall\fP | |
55 | +コマンドのマニュアルである。お使いの \fBwall\fP が util-linux | |
56 | +版以外の場合や、util-linux 版であっても、古いバージョンの場合は、この \fBwall\fP | |
57 | +とは動作やオプションが違うかもしれない。そうしたときは、お手元の \fBwall\fP | |
58 | +に付属する英語のマニュアルに当たってみていただきたい。 | |
59 | +.SH 説明 | |
60 | +\fBwall\fP コマンドは、現在ログインしているすべてのユーザの端末に、上記書式の | |
61 | +\fImessage\fP (訳注: 短文)、または \fIfile\fP | |
62 | +の内容を表示する。そうしたものの指定がない場合は、\fBwall\fP | |
63 | +対する標準入力を表示する。\fBwall\fP は、ASCII 文字で | |
64 | +79 字より長い行は折り返し、短い行は 79 | |
65 | +字になるまでホワイトスペースで埋める。また、行の末尾に復帰文字と改行文字を必ず入れる。 | |
66 | +.PP | |
67 | +メッセージの受信拒否を選択しているユーザや、 | |
68 | +メッセージの受信を機械的に拒否するプログラムを使っているユーザの端末に書き込めるのは、 | |
69 | +スパーユーザだけである。 | |
70 | +.PP | |
71 | +\fBwall\fP を実行するのがスーパーユーザではない場合、\fBwall\fP | |
72 | +プログラムに set\-user\-ID や set\-group\-ID が設定されていると、\fIfile\fP | |
73 | +からの読み込みは拒否される。 | |
74 | +.SH オプション | |
75 | +.TP | |
76 | +\fB\-n\fP,\fB \-\-nobanner\fP | |
77 | +バナー (訳注: 発信者情報) を表示しない。 | |
78 | +.TP | |
79 | +\fB\-t\fP,\fB \-\-timeout \fP\fItimeout\fP | |
80 | +端末への書き込みを \fItimeout\fP 秒間試みてから、諦める。この \fItimeout\fP | |
81 | +は、正の整数でなければならない。デフォルトの値は 300 | |
82 | +秒だが、これは、モデム回線で端末を動かしていた時代の名残りである。 | |
83 | +.TP | |
84 | +\fB\-g\fP,\fB \-\-group \fP\fIgroup\fP | |
85 | +メッセージの表示を、引き数 \fIgroup\fP で指定されるグループのメンバーに限定する。 | |
86 | +引き数は、グループ名でも GID でもよい。 | |
87 | +.TP | |
88 | +\fB\-V\fP,\fB \-\-version\fP | |
89 | +バージョン情報を表示して終了する。 | |
90 | +.TP | |
91 | +\fB\-h\fP,\fB \-\-help\fP | |
92 | +ヘルプを表示して終了する。 | |
93 | +.SH 注意 | |
94 | +wdm がその一例だが、\fButmp\fP(5) の ut_type データの先頭に 1 個の ':' | |
95 | +文字を置く一部のセッションは、\fBwall\fP のメッセージを受け取ろうとしない。 | |
96 | +これは、書き込みエラーを避けるためである。 | |
97 | +.SH 歴史 | |
98 | +\fBwall\fP コマンドが初登場したのは、AT&T UNIX バージョン 7 だった。 | |
99 | +.SH 関連項目 | |
100 | +\fBmesg\fP(1), \fBtalk\fP(1), \fBwrite\fP(1), \fBshutdown\fP(8) | |
101 | +.SH 入手方法 | |
102 | +この wall コマンドは、util\-linux パッケージの一部であり、Linux Kernel Archive | |
103 | +<https://www.kernel.org/pub/linux/utils/util\-linux/> | |
104 | +から入手できる。 |