.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "LXC-PS" "1" "Mon Dec 16 11:31:06 UTC 2013" "" ""
.SH NAME
lxc-ps \- list the processes belonging to a specific container.
.SH SYNOPSIS
\fBlxc-ps [--name name]
[--lxc]
[ps option]
\fR
.SH "DESCRIPTION"
.PP
\fBlxc-ps\fR is a wrapper tp ps command
to report the name of lxc container associated
to reported processes.
.PP
The cgroup fs must be mounted before container creation,
to be able to have \fBlxc-ps\fR to find
the container associated to processes.
.PP
The additionnal specified ps options must not
remove the default ps header and the pid information,
to be able to have the \fBlxc-ps\fR to find
the container associated to processes.
.SH "OPTIONS"
.TP
\fB \fI--name NAME\fB \fR
specify the container \fINAME\fR
to limit the output to the processes belonging
to this container name.
.TP
\fB \fI--lxc\fB \fR
limit the output to the processes belonging
to all lxc containers.
.TP
\fB [ps options] \fR
The \fBps\fR options must be separated
from \fBlxc-ps\fR options by
the \fB--\fR parameter.
.SH "EXAMPLE"
.TP
\fBlxc-ps --name foo -- --forest\fR
list all the processes belonging to container 'foo' and show
dependencies.
.SH "SEE ALSO"
.PP
\fBps\fR(1),
.SH "SEE ALSO"
.PP
\fBlxc\fR(1),
\fBlxc-create\fR(1),
\fBlxc-destroy\fR(1),
\fBlxc-start\fR(1),
\fBlxc-stop\fR(1),
\fBlxc-execute\fR(1),
\fBlxc-kill\fR(1),
\fBlxc-console\fR(1),
\fBlxc-monitor\fR(1),
\fBlxc-wait\fR(1),
\fBlxc-cgroup\fR(1),
\fBlxc-ls\fR(1),
\fBlxc-ps\fR(1),
\fBlxc-info\fR(1),
\fBlxc-freeze\fR(1),
\fBlxc-unfreeze\fR(1),
\fBlxc-attach\fR(1),
\fBlxc.conf\fR(5)
.SH "AUTHOR"
.PP
Daniel Lezcano