Debian Codegraph @

doc/ja/lxc-monitor.sgml.in

raw
1 <!-- SPDX-License-Identifier: LGPL-2.1+ -->
2
3 <!DOCTYPE refentry PUBLIC @docdtd@ [
4
5 <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
6 <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
7 ]>
8
9 <refentry>
10
11 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
12
13 <refmeta>
14 <refentrytitle>lxc-monitor</refentrytitle>
15 <manvolnum>1</manvolnum>
16 </refmeta>
17
18 <refnamediv>
19 <refname>lxc-monitor</refname>
20
21 <refpurpose>
22 <!--
23 monitor the container state
24 -->
25 コンテナの状態の監視
26 </refpurpose>
27 </refnamediv>
28
29 <refsynopsisdiv>
30 <cmdsynopsis>
31 <command>lxc-monitor</command>
32 <arg choice="opt">-n <replaceable>name</replaceable></arg>
33 <arg choice="opt">-Q <replaceable>name</replaceable></arg>
34 </cmdsynopsis>
35 </refsynopsisdiv>
36
37 <refsect1>
38 <title><!-- Description -->説明</title>
39
40 <para>
41 <!--
42 <command>lxc-monitor</command> monitors the state of containers. The
43 <replaceable>name</replaceable> argument may be used to specify
44 which containers to monitor. It is a regular expression, conforming
45 with posix2, so it is possible to monitor all the containers,
46 several of them or just one. If not specified,
47 <replaceable>name</replaceable> will default to '.*' which will
48 monitor all containers in <command>lxcpath</command>.
49 -->
50 <command>lxc-monitor</command> はコンテナの状態を監視します。
51 <replaceable>name</replaceable> をモニタ対象のコンテナを指定するために使うことも可能です。
52 これは posix2 準拠の正規表現であり、全てのコンテナの監視を行ったり、いくつかのコンテナの監視を行ったり、1 つだけのコンテナの監視を行ったりすることが可能です。
53 <replaceable>name</replaceable> を指定しない場合、デフォルトで '.*' となり、<command>lxcpath</command> 以下の全てのコンテナの監視を行います。
54 </para>
55
56 <para>
57 <!--
58 The <option>-P, &#045;&#045;lxcpath</option>=PATH option may be specified multiple
59 times to monitor more than one container path. Note however that
60 containers with the same name in multiple paths will be
61 indistinguishable in the output.
62 -->
63 1 つ以上のコンテナパスをモニタリングするために、複数回の <option>-P, --lxcpath</option>=PATH オプションを指定することが可能です。
64 しかし、複数のパスに同じ名前のコンテナが存在する場合は、出力の見分けがつかない事に注意が必要です。
65 </para>
66
67 </refsect1>
68
69 <refsect1>
70 <title><!-- Options -->オプション</title>
71
72 <variablelist>
73 <varlistentry>
74 <term>
75 <option>-Q, --quit</option>
76 </term>
77 <listitem>
78 <para>
79 <!--
80 Ask the lxc-monitord daemon on each given <command>lxcpath</command>
81 to quit. After receiving this command, lxc-monitord will exit
82 immediately as soon as it has no clients instead of waiting the
83 normal 30 seconds for new clients. This is useful if you need to
84 unmount the filesystem <command>lxcpath</command> is on.
85 -->
86 指定したそれぞれの <command>lxcpath</command> に対する lxc-monitord デーモンを終了させる要求を行います。
87 lxc-monitord は通常は新しいクライアントを 30 秒待ちますが、このコマンドを受け取ると、クライアントがいなくなるとすぐに終了します。
88 このオプションは、<command>lxcpath</command> のファイルシステムをアンマウントする必要があるときに役に立ちます。
89 </para>
90 </listitem>
91 </varlistentry>
92 </variablelist>
93 </refsect1>
94
95 &commonoptions;
96
97 <refsect1>
98 <title><!-- Examples -->例</title>
99 <variablelist>
100 <varlistentry>
101 <term>lxc-monitor -n foo</term>
102 <listitem>
103 <para>
104 <!--
105 will monitor the different states for container foo.
106 -->
107 foo という名前のコンテナの様々な状態を監視します。
108 </para>
109 </listitem>
110 </varlistentry>
111
112 <varlistentry>
113 <term>lxc-monitor -n 'foo|bar'</term>
114 <listitem>
115 <para>
116 <!--
117 will monitor the different states for container foo and bar.
118 -->
119 foo と bar という名前のコンテナの様々な状態を監視します。
120 </para>
121 </listitem>
122 </varlistentry>
123
124 <varlistentry>
125 <term>lxc-monitor -n '[fb].*'</term>
126 <listitem>
127 <para>
128 <!--
129 will monitor the different states for container with the
130 name beginning with letter 'f' or 'b'.
131 -->
132 'f' もしくは 'b' という文字で始まるコンテナの様々な状態を監視します。
133 </para>
134 </listitem>
135 </varlistentry>
136
137 <varlistentry>
138 <term>lxc-monitor -n '.*'</term>
139 <listitem>
140 <para>
141 <!--
142 will monitor the different states for all containers.
143 -->
144 全てのコンテナの様々な状態を監視します。
145 </para>
146 </listitem>
147 </varlistentry>
148
149 </variablelist>
150 </refsect1>
151
152 <refsect1>
153 <title><!-- Diagnostic -->診断</title>
154
155 <variablelist>
156
157 <varlistentry>
158 <term>The container was not found</term>
159 <listitem>
160 <para>
161 <!--
162 The specified container was not created before with
163 the <command>lxc-create</command> command.
164 -->
165 指定したコンテナが <command>lxc-create</command> で作成されておらず存在しません。
166 </para>
167 </listitem>
168 </varlistentry>
169
170
171 </variablelist>
172
173 </refsect1>
174
175 <refsect1>
176 <title>See Also</title>
177
178 <simpara>
179 <citerefentry>
180 <refentrytitle>regex</refentrytitle>
181 <manvolnum>7</manvolnum>
182 </citerefentry>,
183 </simpara>
184
185 </refsect1>
186
187 &seealso;
188
189 </refentry>
190
191 <!-- Keep this comment at the end of the file
192 Local variables:
193 mode: sgml
194 sgml-omittag:t
195 sgml-shorttag:t
196 sgml-minimize-attributes:nil
197 sgml-always-quote-attributes:t
198 sgml-indent-step:2
199 sgml-indent-data:t
200 sgml-parent-document:nil
201 sgml-default-dtd-file:nil
202 sgml-exposed-tags:nil
203 sgml-local-catalogs:nil
204 sgml-local-ecat-files:nil
205 End:
206 -->