4
lxc: linux Container library
6
(C) Copyright IBM Corp. 2007, 2008
9
Daniel Lezcano <dlezcano at fr.ibm.com>
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
27
<!DOCTYPE refentry PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
31
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
34
<refentrytitle>lxc-ps</refentrytitle>
35
<manvolnum>1</manvolnum>
39
<refname>lxc-ps</refname>
42
list the processes belonging to a specific container.
48
<command>lxc-ps <replaceable>-n name</replaceable>
49
<optional>ps option</optional>
55
<title>Description</title>
57
<command>lxc-ps</command> list the processes belonging to a
63
<title>Options</title>
68
<option><replaceable>-n name</replaceable></option>
72
specify the container <replaceable>name</replaceable> to
80
<option><optional>ps options</optional></option>
84
The option passed to <command>lxc-ps</command> are the
85
same as the <command>ps</command> command.
95
<title>Examples</title>
98
<term>lxc-ps -n foo --forest</term>
101
list all the processes belonging to container 'foo' and show
108
<term>lxc-ps -n foo -o pid=</term>
111
list all the containers and display the list in one column.
120
<title>See Also</title>
124
<refentrytitle>ps</refentrytitle>
125
<manvolnum>1</manvolnum>
133
<title>Author</title>
134
<para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
139
<!-- Keep this comment at the end of the file
144
sgml-minimize-attributes:nil
145
sgml-always-quote-attributes:t
148
sgml-parent-document:nil
149
sgml-default-dtd-file:nil
150
sgml-exposed-tags:nil
151
sgml-local-catalogs:nil
152
sgml-local-ecat-files:nil