]> git.proxmox.com Git - mirror_lxc.git/blob - doc/ja/lxc-info.sgml.in
start: call lxc_find_gateway_addresses early
[mirror_lxc.git] / doc / ja / lxc-info.sgml.in
1 <!--
2
3 (C) Copyright Canonical Ltd. 2013
4
5 Authors:
6 Stéphane Graber <stgraber@ubuntu.com>
7
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public
10 License as published by the Free Software Foundation; either
11 version 2.1 of the License, or (at your option) any later version.
12
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
17
18 You should have received a copy of the GNU Lesser General Public
19 License along with this library; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
22 Translated into Japanese
23 by KATOH Yasufumi <karma at jazz.email.ne.jp>
24
25 -->
26
27 <!DOCTYPE refentry PUBLIC @docdtd@ [
28
29 <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
30 <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
31 ]>
32
33 <refentry>
34
35 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
36
37 <refmeta>
38 <refentrytitle>lxc-info</refentrytitle>
39 <manvolnum>1</manvolnum>
40 </refmeta>
41
42 <refnamediv>
43 <refname>lxc-info</refname>
44
45 <refpurpose>
46 <!--
47 query information about a container
48 -->
49 コンテナに関する情報の問い合わせ
50 </refpurpose>
51 </refnamediv>
52
53 <refsynopsisdiv>
54 <cmdsynopsis>
55 <command>lxc-info</command>
56 <arg choice="req">-n <replaceable>name</replaceable></arg>
57 <arg choice="opt">-c <replaceable>KEY</replaceable></arg>
58 <arg choice="opt">-s</arg>
59 <arg choice="opt">-p</arg>
60 <arg choice="opt">-i</arg>
61 <arg choice="opt">-S</arg>
62 <arg choice="opt">-H</arg>
63 </cmdsynopsis>
64 </refsynopsisdiv>
65
66 <refsect1>
67 <title><!-- Description -->説明</title>
68 <para>
69 <!--
70 <command>lxc-info</command> queries and shows information about a
71 container.
72 -->
73 <command>lxc-info</command> は、コンテナに関する情報を問い合わせ、表示します。
74 </para>
75 </refsect1>
76
77 <refsect1>
78 <title><!-- Options --></title>
79 <variablelist>
80
81 <varlistentry>
82 <term>
83 <option>-c, --config <replaceable>KEY</replaceable></option>
84 </term>
85 <listitem>
86 <para>
87 <!--
88 Print a configuration key from the container. This option
89 may be given multiple times to print out multiple key = value pairs.
90 -->
91 コンテナの設定値を表示します。このオプションは複数の key = value のペアを表示したい場合には複数回指定することも可能です。
92 </para>
93 </listitem>
94 </varlistentry>
95
96 <varlistentry>
97 <term>
98 <option>-s, --state</option>
99 </term>
100 <listitem>
101 <para>
102 <!--
103 Just print the container's state.
104 -->
105 コンテナの状態のみを表示します。
106 </para>
107 </listitem>
108 </varlistentry>
109
110 <varlistentry>
111 <term>
112 <option>-p, --pid</option>
113 </term>
114 <listitem>
115 <para>
116 <!--
117 Just print the container's pid.
118 -->
119 コンテナの pid を表示します。
120 </para>
121 </listitem>
122 </varlistentry>
123
124 <varlistentry>
125 <term>
126 <option>-i, --ips</option>
127 </term>
128 <listitem>
129 <para>
130 <!--
131 Just print the container's IP addresses.
132 -->
133 コンテナの IP アドレスを表示します。
134 </para>
135 </listitem>
136 </varlistentry>
137
138 <varlistentry>
139 <term>
140 <option>-S, --stats</option>
141 </term>
142 <listitem>
143 <para>
144 <!--
145 Just print the container's statistics.
146 Note that for performance reasons the kernel does not account
147 kernel memory use unless a kernel memory limit is set. If a limit
148 is not set, <command>lxc-info</command> will display kernel memory
149 use as 0. A limit can be set by specifying
150 <programlisting>
151 lxc.cgroup.memory.kmem.limit_in_bytes = <replaceable>number</replaceable>
152 </programlisting>
153 in your container configuration file, see
154 <citerefentry>
155 <refentrytitle>lxc.conf</refentrytitle>
156 <manvolnum>5</manvolnum>
157 </citerefentry>.
158 -->
159 コンテナの統計情報を表示します。
160 パフォーマンスへの影響を考慮して、カーネルメモリの使用量は、カーネルメモリの制限値が設定されない限りはカウントされません。
161 もし、制限が設定されていない場合、<command>lxc-info</command> はカーネルメモリの使用量を 0 と表示します。制限は
162 <programlisting>
163 lxc.cgroup.memory.kmem.limit_in_bytes = <replaceable>number</replaceable>
164 </programlisting>
165 のように、コンテナの設定ファイルで指定することができます。詳しくは、
166 <citerefentry>
167 <refentrytitle>lxc.conf</refentrytitle>
168 <manvolnum>5</manvolnum>
169 </citerefentry>
170 を参照してください。
171 </para>
172 </listitem>
173 </varlistentry>
174
175 <varlistentry>
176 <term>
177 <option>-H, --no-humanize</option>
178 </term>
179 <listitem>
180 <para>
181 <!--
182 Print the container's statistics in raw, non-humanized form. The
183 default is to print statistics in humanized form.
184 -->
185 コンテナの統計情報を人間が読みやすい形に加工しないでそのまま表示します。
186 デフォルトは人間が読みやすい形の統計情報を表示します。
187 </para>
188 </listitem>
189 </varlistentry>
190 </variablelist>
191 </refsect1>
192
193 &commonoptions;
194
195 <refsect1>
196 <title><!-- Examples -->例</title>
197 <variablelist>
198 <varlistentry>
199 <term>lxc-info -n foo</term>
200 <listitem>
201 <para>
202 <!--
203 Show information for foo.
204 -->
205 foo という名前のコンテナの情報を表示します。
206 </para>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry>
211 <term>lxc-info -n 'ubuntu.*'</term>
212 <listitem>
213 <para>
214 <!--
215 Show information for all containers whose name starts with ubuntu.
216 -->
217 ubuntu という文字列で始まる名前の全てのコンテナの情報を表示します。
218 </para>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry>
223 <term>lxc-info -n foo -c lxc.net.0.veth.pair</term>
224 <listitem>
225 <para>
226 <!--
227 prints the veth pair name of foo.
228 -->
229 コンテナ foo の veth pair を表示します。
230 </para>
231 </listitem>
232 </varlistentry>
233
234 </variablelist>
235 </refsect1>
236
237 &seealso;
238
239 <refsect1>
240 <title><!-- Author -->作者</title>
241 <para>Stéphane Graber <email>stgraber@ubuntu.com</email></para>
242 </refsect1>
243 </refentry>
244
245 <!-- Keep this comment at the end of the file
246 Local variables:
247 mode: sgml
248 sgml-omittag:t
249 sgml-shorttag:t
250 sgml-minimize-attributes:nil
251 sgml-always-quote-attributes:t
252 sgml-indent-step:2
253 sgml-indent-data:t
254 sgml-parent-document:nil
255 sgml-default-dtd-file:nil
256 sgml-exposed-tags:nil
257 sgml-local-catalogs:nil
258 sgml-local-ecat-files:nil
259 End:
260 -->