~ubuntu-branches/ubuntu/quantal/lxc/quantal-201206191543

« back to all changes in this revision

Viewing changes to doc/lxc-ps.1

  • Committer: Stéphane Graber
  • Date: 2011-08-11 18:43:51 UTC
  • mto: (3.1.15 sid)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: stgraber@ubuntu.com-20110811184351-xa4c5v0ct5ud45d0
Tags: upstream-0.7.5
Import upstream version 0.7.5

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" "20 May 2011" "" ""
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-kill\fR(1),
62
 
\fBlxc-console\fR(1),
63
 
\fBlxc-monitor\fR(1),
64
 
\fBlxc-wait\fR(1),
65
 
\fBlxc-cgroup\fR(1),
66
 
\fBlxc-ls\fR(1),
67
 
\fBlxc-ps\fR(1),
68
 
\fBlxc-info\fR(1),
69
 
\fBlxc-freeze\fR(1),
70
 
\fBlxc-unfreeze\fR(1),
71
 
\fBlxc.conf\fR(5)
72
 
.SH "AUTHOR"
73
 
.PP
74
 
Daniel Lezcano <daniel.lezcano@free.fr>