]> git.proxmox.com Git - mirror_lxc.git/blame - doc/ja/lxc-monitor.sgml.in
start: call lxc_find_gateway_addresses early
[mirror_lxc.git] / doc / ja / lxc-monitor.sgml.in
CommitLineData
8900b9eb 1<!--
57da8c32
KY
2
3lxc: linux Container library
4
5(C) Copyright IBM Corp. 2007, 2008
6
7Authors:
8Daniel Lezcano <daniel.lezcano at free.fr>
9
10This library is free software; you can redistribute it and/or
11modify it under the terms of the GNU Lesser General Public
12License as published by the Free Software Foundation; either
13version 2.1 of the License, or (at your option) any later version.
14
15This library is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18Lesser General Public License for more details.
19
20You should have received a copy of the GNU Lesser General Public
21License along with this library; if not, write to the Free Software
a5ba9671 22Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
57da8c32 23
8900b9eb 24Translated into Japanese
57da8c32
KY
25by KATOH Yasufumi <karma at jazz.email.ne.jp>
26
27-->
28
faefa7f8 29<!DOCTYPE refentry PUBLIC @docdtd@ [
57da8c32
KY
30
31<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
32<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
33]>
34
35<refentry>
36
37 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
38
39 <refmeta>
40 <refentrytitle>lxc-monitor</refentrytitle>
41 <manvolnum>1</manvolnum>
42 </refmeta>
43
44 <refnamediv>
45 <refname>lxc-monitor</refname>
46
47 <refpurpose>
48 <!--
49 monitor the container state
50 -->
6127da6b 51 コンテナの状態の監視
57da8c32
KY
52 </refpurpose>
53 </refnamediv>
54
55 <refsynopsisdiv>
56 <cmdsynopsis>
57 <command>lxc-monitor</command>
996c63c7 58 <arg choice="opt">-n <replaceable>name</replaceable></arg>
359c71b6 59 <arg choice="opt">-Q <replaceable>name</replaceable></arg>
57da8c32
KY
60 </cmdsynopsis>
61 </refsynopsisdiv>
62
63 <refsect1>
64 <title><!-- Description -->説明</title>
65
66 <para>
67 <!--
996c63c7
KY
68 <command>lxc-monitor</command> monitors the state of containers. The
69 <replaceable>name</replaceable> argument may be used to specify
70 which containers to monitor. It is a regular expression, conforming
71 with posix2, so it is possible to monitor all the containers,
72 several of them or just one. If not specified,
73 <replaceable>name</replaceable> will default to '.*' which will
74 monitor all containers in <command>lxcpath</command>.
57da8c32 75 -->
dc421f3a
KY
76 <command>lxc-monitor</command> はコンテナの状態を監視します。
77 <replaceable>name</replaceable> をモニタ対象のコンテナを指定するために使うことも可能です。
78 これは posix2 準拠の正規表現であり、全てのコンテナの監視を行ったり、いくつかのコンテナの監視を行ったり、1 つだけのコンテナの監視を行ったりすることが可能です。
79 <replaceable>name</replaceable> を指定しない場合、デフォルトで '.*' となり、<command>lxcpath</command> 以下の全てのコンテナの監視を行います。
57da8c32
KY
80 </para>
81
57da8c32
KY
82 <para>
83 <!--
a5ba9671
KY
84 The <option>-P, &#045;&#045;lxcpath</option>=PATH option may be specified multiple
85 times to monitor more than one container path. Note however that
86 containers with the same name in multiple paths will be
87 indistinguishable in the output.
57da8c32 88 -->
dc421f3a
KY
89 1 つ以上のコンテナパスをモニタリングするために、複数回の <option>-P, --lxcpath</option>=PATH オプションを指定することが可能です。
90 しかし、複数のパスに同じ名前のコンテナが存在する場合は、出力の見分けがつかない事に注意が必要です。
57da8c32
KY
91 </para>
92
93 </refsect1>
a5ba9671 94
359c71b6
KY
95 <refsect1>
96 <title><!-- Options -->オプション</title>
97
98 <variablelist>
99 <varlistentry>
100 <term>
101 <option>-Q, --quit</option>
102 </term>
103 <listitem>
104 <para>
105 <!--
106 Ask the lxc-monitord daemon on each given <command>lxcpath</command>
107 to quit. After receiving this command, lxc-monitord will exit
108 immediately as soon as it has no clients instead of waiting the
109 normal 30 seconds for new clients. This is useful if you need to
110 unmount the filesystem <command>lxcpath</command> is on.
111 -->
dc421f3a
KY
112 指定したそれぞれの <command>lxcpath</command> に対する lxc-monitord デーモンを終了させる要求を行います。
113 lxc-monitord は通常は新しいクライアントを 30 秒待ちますが、このコマンドを受け取ると、クライアントがいなくなるとすぐに終了します。
114 このオプションは、<command>lxcpath</command> のファイルシステムをアンマウントする必要があるときに役に立ちます。
359c71b6
KY
115 </para>
116 </listitem>
117 </varlistentry>
118 </variablelist>
119 </refsect1>
120
a5ba9671
KY
121 &commonoptions;
122
57da8c32 123 <refsect1>
9a97d4e4 124 <title><!-- Examples -->例</title>
57da8c32
KY
125 <variablelist>
126 <varlistentry>
127 <term>lxc-monitor -n foo</term>
128 <listitem>
129 <para>
130 <!--
131 will monitor the different states for container foo.
132 -->
dc421f3a 133 foo という名前のコンテナの様々な状態を監視します。
57da8c32
KY
134 </para>
135 </listitem>
136 </varlistentry>
137
138 <varlistentry>
139 <term>lxc-monitor -n 'foo|bar'</term>
140 <listitem>
141 <para>
142 <!--
143 will monitor the different states for container foo and bar.
144 -->
dc421f3a 145 foo と bar という名前のコンテナの様々な状態を監視します。
57da8c32
KY
146 </para>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry>
03c9e2d5 151 <term>lxc-monitor -n '[fb].*'</term>
57da8c32
KY
152 <listitem>
153 <para>
154 <!--
155 will monitor the different states for container with the
156 name beginning with letter 'f' or 'b'.
157 -->
dc421f3a 158 'f' もしくは 'b' という文字で始まるコンテナの様々な状態を監視します。
57da8c32
KY
159 </para>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry>
164 <term>lxc-monitor -n '.*'</term>
165 <listitem>
166 <para>
167 <!--
168 will monitor the different states for all containers.
169 -->
dc421f3a 170 全てのコンテナの様々な状態を監視します。
57da8c32
KY
171 </para>
172 </listitem>
173 </varlistentry>
174
175 </variablelist>
176 </refsect1>
177
178 <refsect1>
179 <title><!-- Diagnostic -->診断</title>
180
181 <variablelist>
182
183 <varlistentry>
184 <term>The container was not found</term>
185 <listitem>
186 <para>
187 <!--
188 The specified container was not created before with
189 the <command>lxc-create</command> command.
190 -->
dc421f3a 191 指定したコンテナが <command>lxc-create</command> で作成されておらず存在しません。
57da8c32
KY
192 </para>
193 </listitem>
194 </varlistentry>
195
196
197 </variablelist>
198
199 </refsect1>
200
201 <refsect1>
202 <title>See Also</title>
203
204 <simpara>
205 <citerefentry>
206 <refentrytitle>regex</refentrytitle>
207 <manvolnum>7</manvolnum>
208 </citerefentry>,
209 </simpara>
210
211 </refsect1>
212
213 &seealso;
214
215 <refsect1>
216 <title><!-- Author -->作者</title>
217 <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
218 </refsect1>
219
220</refentry>
221
222<!-- Keep this comment at the end of the file
223Local variables:
224mode: sgml
225sgml-omittag:t
226sgml-shorttag:t
227sgml-minimize-attributes:nil
228sgml-always-quote-attributes:t
229sgml-indent-step:2
230sgml-indent-data:t
231sgml-parent-document:nil
232sgml-default-dtd-file:nil
233sgml-exposed-tags:nil
234sgml-local-catalogs:nil
235sgml-local-ecat-files:nil
236End:
237-->