mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-14 20:22:04 +00:00

Update for commit 0f02786
Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
289 lines
7.9 KiB
Plaintext
289 lines
7.9 KiB
Plaintext
<!--
|
|
|
|
lxc: linux Container library
|
|
|
|
(C) Copyright IBM Corp. 2007, 2008
|
|
|
|
Authors:
|
|
Daniel Lezcano <daniel.lezcano at free.fr>
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Lesser General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with this library; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
Translated into Japanese
|
|
by KATOH Yasufumi <karma at jazz.email.ne.jp>
|
|
|
|
-->
|
|
|
|
<!DOCTYPE refentry PUBLIC @docdtd@ [
|
|
|
|
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
|
|
]>
|
|
|
|
<refentry>
|
|
|
|
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
|
|
|
|
<refmeta>
|
|
<refentrytitle>lxc-ls</refentrytitle>
|
|
<manvolnum>1</manvolnum>
|
|
</refmeta>
|
|
|
|
<refnamediv>
|
|
<refname>lxc-ls</refname>
|
|
|
|
<refpurpose>
|
|
<!--
|
|
list the containers existing on the system
|
|
-->
|
|
システム上に存在するコンテナのリスト表示
|
|
</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsynopsisdiv>
|
|
<cmdsynopsis>
|
|
<command>lxc-ls</command>
|
|
<arg choice="opt">-1</arg>
|
|
<arg choice="opt">--active</arg>
|
|
<arg choice="opt">--frozen</arg>
|
|
<arg choice="opt">--running</arg>
|
|
<arg choice="opt">--stopped</arg>
|
|
<arg choice="opt">-f</arg>
|
|
<arg choice="opt">-F <replaceable>format</replaceable></arg>
|
|
<arg choice="opt">-g <replaceable>groups</replaceable></arg>
|
|
<arg choice="opt">--nesting</arg>
|
|
<arg choice="opt">filter</arg>
|
|
</cmdsynopsis>
|
|
</refsynopsisdiv>
|
|
|
|
<refsect1>
|
|
<title><!-- Description -->説明</title>
|
|
<para>
|
|
<!--
|
|
<command>lxc-ls</command> list the containers existing on the
|
|
system.
|
|
-->
|
|
<command>lxc-ls</command> はシステム上に存在するコンテナをリスト表示します。
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1>
|
|
<title><!-- Options -->オプション</title>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term>
|
|
<option><optional>-1</optional></option>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
<!--
|
|
Show one entry per line. (default when /dev/stdout isn't a tty)
|
|
-->
|
|
1 行に 1 エントリ表示します。(/dev/stdout が tty でない場合のデフォルト)
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term>
|
|
<option><optional>--active</optional></option>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
<!--
|
|
List only active containers (same as --frozen --running).
|
|
-->
|
|
アクティブなコンテナのみリスト表示します。(--frozen --running と同じです)
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term>
|
|
<option><optional>--frozen</optional></option>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
<!--
|
|
List only frozen containers.
|
|
-->
|
|
凍結 (frozen) 状態のコンテナのみをリスト表示します。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term>
|
|
<option><optional>--running</optional></option>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
<!--
|
|
List only running containers.
|
|
-->
|
|
実行 (running) 状態のコンテナのみをリスト表示します。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term>
|
|
<option><optional>--stopped</optional></option>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
<!--
|
|
List only stopped containers.
|
|
-->
|
|
停止状態のコンテナのみをリスト表示します。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term>
|
|
<option><optional>-f, --fancy</optional></option>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
<!--
|
|
Use a fancy, column-based output.
|
|
-->
|
|
装飾付きのカラムベースの出力を使用します。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term>
|
|
<option><optional>-F, --fancy-format <replaceable>format</replaceable></optional></option>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
<!--
|
|
Comma separate list of column to show in the fancy output.
|
|
The list of accepted and default fields is listed in \-\-help.
|
|
-->
|
|
装飾付き出力で表示するカラムのコンマ区切りのリスト。デフォルトで表示される項目と指定可能な項目名は --help オプションで確認してください。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term>
|
|
<option><optional>-g, --groups <replaceable>groups</replaceable></optional></option>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
<!--
|
|
Comma separated list of groups the container must have to be displayed.
|
|
The parameter may be passed multiple times.
|
|
-->
|
|
表示させるコンテナグループのコンマ区切りのリスト。このオプションは複数回指定することもできます。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term>
|
|
<option><optional>--nesting</optional></option>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
<!--
|
|
Show nested containers.
|
|
-->
|
|
ネストされたコンテナを表示します。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term>
|
|
<option><optional>filter</optional></option>
|
|
</term>
|
|
<listitem>
|
|
<para>
|
|
<!--
|
|
The filter passed to <command>lxc-ls</command> will be
|
|
applied to the container name. The format is a regular expression.
|
|
-->
|
|
コンテナ名に対して適用する <command>lxc-ls</command> に与えるフィルタ。
|
|
フォーマットは正規表現です。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1>
|
|
<title><!-- Examples -->例</title>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term>lxc-ls --fancy</term>
|
|
<listitem>
|
|
<para>
|
|
<!--
|
|
list all the containers, listing one per line along with its
|
|
name, state, ipv4 and ipv6 addresses.
|
|
-->
|
|
全てのコンテナをリスト表示します。
|
|
一行にはコンテナの名前、状態、IPv4 アドレス、IPv6 アドレスが表示されます。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term>lxc-ls --active -1</term>
|
|
<listitem>
|
|
<para>
|
|
<!--
|
|
list active containers and display the list in one column.
|
|
-->
|
|
稼働中のコンテナを一列にリスト表示します。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
</refsect1>
|
|
|
|
&seealso;
|
|
|
|
<refsect1>
|
|
<title><!-- Author -->作者</title>
|
|
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:2
|
|
sgml-indent-data:t
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:nil
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
-->
|