57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi(C) Copyright Canonical Ltd. 2013
9d0cda4f22f76d693e2ceef0f77f2ba24227433cStéphane GraberStéphane Graber <stgraber@ubuntu.com>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiThis library is free software; you can redistribute it and/or
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumimodify it under the terms of the GNU Lesser General Public
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiLicense as published by the Free Software Foundation; either
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumiversion 2.1 of the License, or (at your option) any later version.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiThis library is distributed in the hope that it will be useful,
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumibut WITHOUT ANY WARRANTY; without even the implied warranty of
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiLesser General Public License for more details.
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiYou should have received a copy of the GNU Lesser General Public
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiLicense along with this library; if not, write to the Free Software
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH YasufumiFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
8900b9eb2514c07047541833286428572493a9fdStéphane GraberTranslated into Japanese
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumiby KATOH Yasufumi <karma at jazz.email.ne.jp>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi query information about a container
6127da6b3f5815028bee187ac98840cd94313841KATOH Yasufumi コンテナに関する情報の問い合わせ
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refpurpose>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refnamediv>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <refsynopsisdiv>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <cmdsynopsis>
e339d6b9c1b85e6341c0d230ac68c5958f28cf08KATOH Yasufumi <arg choice="req">-n <replaceable>name</replaceable></arg>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <arg choice="opt">-c <replaceable>KEY</replaceable></arg>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </cmdsynopsis>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </refsynopsisdiv>
e339d6b9c1b85e6341c0d230ac68c5958f28cf08KATOH Yasufumi <command>lxc-info</command> queries and shows information about a
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi <command>lxc-info</command> は、コンテナに関する情報を問い合わせ、表示します。
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <variablelist>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <varlistentry>
1bc07a5b8dbaef4b6eb6d30a260e9c2153ed368bKATOH Yasufumi <option>-c, --config <replaceable>KEY</replaceable></option>
2035b7d919169dc4804c678931597b23f2e62949KATOH Yasufumi Print a configuration key from the container. This option
e9555a6bc7056cd887ee19c80b6c59627ac61255Evgeni Golov may be given multiple times to print out multiple key = value pairs.
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi コンテナの設定値を表示します。このオプションは複数の key = value のペアを表示したい場合には複数回指定することも可能です。
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi </varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi Just print the container's state.
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi コンテナの状態のみを表示します。
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi Just print the container's pid.
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi コンテナの pid を表示します。
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <varlistentry>
3fd391243ea81b2244f529d4771dc4385b27f0e7KATOH Yasufumi Just print the container's IP addresses.
1bc07a5b8dbaef4b6eb6d30a260e9c2153ed368bKATOH Yasufumi コンテナの IP アドレスを表示します。
3fd391243ea81b2244f529d4771dc4385b27f0e7KATOH Yasufumi </varlistentry>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi <varlistentry>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi Just print the container's statistics.
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi Note that for performance reasons the kernel does not account
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi kernel memory use unless a kernel memory limit is set. If a limit
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi is not set, <command>lxc-info</command> will display kernel memory
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi use as 0. A limit can be set by specifying
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi <programlisting>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi lxc.cgroup.memory.kmem.limit_in_bytes = <replaceable>number</replaceable>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi </programlisting>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi in your container configuration file, see
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi <citerefentry>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi <refentrytitle>lxc.conf</refentrytitle>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi <manvolnum>5</manvolnum>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi </citerefentry>.
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi コンテナの統計情報を表示します。
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi パフォーマンスへの影響を考慮して、カーネルメモリの使用量は、カーネルメモリの制限値が設定されない限りはカウントされません。
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi もし、制限が設定されていない場合、<command>lxc-info</command> はカーネルメモリの使用量を 0 と表示します。制限は
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi <programlisting>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi lxc.cgroup.memory.kmem.limit_in_bytes = <replaceable>number</replaceable>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi </programlisting>
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi のように、コンテナの設定ファイルで指定することができます。詳しくは、
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi <citerefentry>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi </citerefentry>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi </varlistentry>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi <varlistentry>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi Print the container's statistics in raw, non-humanized form. The
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi default is to print statistics in humanized form.
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi コンテナの統計情報を人間が読みやすい形に加工しないでそのまま表示します。
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi デフォルトは人間が読みやすい形の統計情報を表示します。
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi </varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </variablelist>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi &commonoptions;
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <variablelist>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi Show information for foo.
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi foo という名前のコンテナの情報を表示します。
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </varlistentry>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi <varlistentry>
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi Show information for all containers whose name starts with ubuntu.
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi ubuntu という文字列で始まる名前の全てのコンテナの情報を表示します。
28254e6380c787ffcdf4a1929fd732d0871fcda3KATOH Yasufumi </varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <varlistentry>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi <term>lxc-info -n foo -c lxc.network.0.veth.pair</term>
a5ba96715d4ef264c43d4f187251de491ba198c0KATOH Yasufumi prints the veth pair name of foo.
dc421f3aac1f0e516c763dd156629a8ed2a7b4caKATOH Yasufumi コンテナ foo の veth pair を表示します。
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </varlistentry>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi </variablelist>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi <para>Stéphane Graber <email>stgraber@ubuntu.com</email></para>
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumi<!-- Keep this comment at the end of the file
57da8c32f85c0255efa61ee32e260068afdaa565KATOH YasufumiLocal variables:
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-omittag:t
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-shorttag:t
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-minimize-attributes:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-always-quote-attributes:t
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-indent-step:2
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-indent-data:t
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-parent-document:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-default-dtd-file:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-exposed-tags:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-local-catalogs:nil
57da8c32f85c0255efa61ee32e260068afdaa565KATOH Yasufumisgml-local-ecat-files:nil