~ubuntu-branches/ubuntu/quantal/lxc/quantal-201205292108

« back to all changes in this revision

Viewing changes to doc/lxc-ps.1

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter, Stéphane Graber, Guido Trotter
  • Date: 2010-01-10 10:40:21 UTC
  • mfrom: (1.1.2 upstream) (3.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20100110104021-z8rj5zw5mlvra08l
Tags: 0.6.4-1
[ Stéphane Graber ]
* Upgrade standards-version to 3.8.3
* Drop the copy of etc/* from rules as "etc" is no longer in the tarball

[ Guido Trotter ]
* New Upstream Version
* Update libcap2-dev dependency to libcap-dev
* Install upstream-built man pages via debian/lxc.manpages
* Drop unneeded docbook-utils build dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" This manpage has been automatically generated by docbook2man 
 
2
.\" from a DocBook document.  This tool can be found at:
 
3
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
 
4
.\" Please send any bug reports, improvements, comments, patches, 
 
5
.\" etc. to Steve Cheng <steve@ggi-project.org>.
 
6
.TH "LXC-PS" "1" "23 November 2009" "" ""
 
7
 
 
8
.SH NAME
 
9
lxc-ps \- list the processes belonging to a specific container.
 
10
.SH SYNOPSIS
 
11
 
 
12
\fBlxc-ps [--name name]
 
13
[--lxc]
 
14
[ps option]
 
15
\fR
 
16
 
 
17
.SH "DESCRIPTION"
 
18
.PP
 
19
\fBlxc-ps\fR is a wrapper tp ps command
 
20
to report the name of lxc container associated
 
21
to reported processes.
 
22
.PP
 
23
The cgroup fs must be mounted before container creation,
 
24
to be able to have \fBlxc-ps\fR to find
 
25
the container associated to processes.
 
26
.PP
 
27
The additionnal specified ps options must not
 
28
remove the default ps header and the pid information,
 
29
to be able to have the \fBlxc-ps\fR to find
 
30
the container associated to processes.
 
31
.SH "OPTIONS"
 
32
.TP
 
33
\fB   \fI--name NAME\fB \fR
 
34
specify the container \fINAME\fR
 
35
to limit the output to the processes belonging 
 
36
to this container name.     
 
37
.TP
 
38
\fB   \fI--lxc\fB \fR
 
39
limit the output to the processes belonging 
 
40
to all lxc containers.
 
41
.TP
 
42
\fB   [ps options] \fR
 
43
The option passed to \fBlxc-ps\fR are the
 
44
same as the \fBps\fR command.
 
45
.SH "EXAMPLE"
 
46
.TP
 
47
\fBlxc-ps --name foo --forest\fR
 
48
list all the processes belonging to container 'foo' and show
 
49
dependencies.
 
50
.SH "SEE ALSO"
 
51
.PP
 
52
\fBps\fR(1),
 
53
.SH "SEE ALSO"
 
54
.PP
 
55
\fBlxc\fR(1),
 
56
\fBlxc-create\fR(1),
 
57
\fBlxc-destroy\fR(1),
 
58
\fBlxc-start\fR(1),
 
59
\fBlxc-stop\fR(1),
 
60
\fBlxc-execute\fR(1),
 
61
\fBlxc-console\fR(1),
 
62
\fBlxc-monitor\fR(1),
 
63
\fBlxc-wait\fR(1),
 
64
\fBlxc-cgroup\fR(1),
 
65
\fBlxc-ls\fR(1),
 
66
\fBlxc-ps\fR(1),
 
67
\fBlxc-info\fR(1),
 
68
\fBlxc-freeze\fR(1),
 
69
\fBlxc-unfreeze\fR(1),
 
70
\fBlxc.conf\fR(5)
 
71
.SH "AUTHOR"
 
72
.PP
 
73
Daniel Lezcano <daniel.lezcano@free.fr>