4 lxc: linux Container library
6 (C) Copyright IBM Corp. 2007, 2008
9 Daniel Lezcano <daniel.lezcano at free.fr>
11 This library is free software; you can redistribute it and/or
12 modify it under the terms of the GNU Lesser General Public
13 License as published by the Free Software Foundation; either
14 version 2.1 of the License, or (at your option) any later version.
16 This library is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 Lesser General Public License for more details.
21 You should have received a copy of the GNU Lesser General Public
22 License along with this library; if not, write to the Free Software
23 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 Translated into Japanese
26 by KATOH Yasufumi <karma at jazz.email.ne.jp>
30 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
32 <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
37 <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
40 <refentrytitle>lxc-ps</refentrytitle>
41 <manvolnum>1</manvolnum>
45 <refname>lxc-ps</refname>
49 list the processes belonging to a specific container.
51 指定したコンテナに属するプロセスをリスト表示する.
57 <command>lxc-ps</command>
58 <arg choice="opt">--name <replaceable>name</replaceable></arg>
59 <arg choice="opt">--lxc</arg>
60 <arg choice="opt">--host</arg>
61 <arg choice="opt">-- ps option</arg>
66 <title><!-- Description -->説明</title>
69 <command>lxc-ps</command> is a wrapper to the ps command
70 to report the name of lxc container associated
71 to reported processes.
73 <command>lxc-ps</command> は,プロセスと関連した lxc コンテナ名を報告する ps コマンドのラッパーです.
77 The cgroup fs must be mounted before container creation,
78 to be able to have <command>lxc-ps</command> to find
79 the container associated to processes.
81 <command>lxc-ps</command> がコンテナに関連するプロセスを見つけるためには,コンテナが作成される前に cgroup FS がマウントされている必要があります.
85 The additionnal specified ps options must not
86 remove the default ps header and the pid information,
87 to be able to have the <command>lxc-ps</command> to find
88 the container associated to processes.
90 <command>lxc-ps</command> がコンテナに関連したプロセスを見つけるためには,追加で指定された ps コマンドのオプションが,標準の ps コマンドのヘッダや pid 情報を削除してはいけません.
95 <title><!-- Options -->オプション</title>
100 <option>-n, --name <replaceable>name</replaceable></option>
105 specify the container <replaceable>NAME</replaceable>
106 to limit the output to the processes belonging
107 to this container name.
109 <replaceable>name</replaceable> で指定したコンテナに属するプロセスのみ出力する.
116 <option>--lxc</option>
121 limit the output to the processes belonging
122 to all lxc containers.
124 全ての lxc コンテナに属するプロセスを出力する.
131 <option>--host</option>
136 limit the output to the processes belonging
139 ホスト (訳注: コンテナ以外) に属するプロセスのみを出力する.
146 <option><optional>ps options</optional></option>
151 The <command>ps</command> options must be separated
152 from <command>lxc-ps</command> options by
153 the <option>--</option> parameter.
155 <command>ps</command> のオプションと,<command>lxc-ps</command> のオプションとは,<option>--</option> で区切って指定します.
165 <title><!-- Example --></title>
168 <term>lxc-ps --name foo -- --forest</term>
172 list all the processes belonging to container 'foo' and show
175 foo という名前のコンテナに属する全てのプロセスをリスト表示し,依存関係を示します.
183 <title>See Also</title>
187 <refentrytitle>ps</refentrytitle>
188 <manvolnum>1</manvolnum>
197 <title><!-- Author -->作者</title>
198 <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
203 <!-- Keep this comment at the end of the file
208 sgml-minimize-attributes:nil
209 sgml-always-quote-attributes:t
212 sgml-parent-document:nil
213 sgml-default-dtd-file:nil
214 sgml-exposed-tags:nil
215 sgml-local-catalogs:nil
216 sgml-local-ecat-files:nil