1LXC-PS(1)                                                            LXC-PS(1)
2
3
4

NAME

6       lxc-ps - list the processes belonging to a specific container.
7

SYNOPSIS

9       lxc-ps [--name name] [--lxc] [ps option] .SH "DESCRIPTION"
10
11       lxc-ps  is  a wrapper tp ps command to report the name of lxc container
12       associated to reported processes.
13
14       The cgroup fs must be mounted before container creation, to be able  to
15       have lxc-ps to find the container associated to processes.
16
17       The  additionnal  specified  ps  options must not remove the default ps
18       header and the pid information, to be able to have the lxc-ps  to  find
19       the container associated to processes.
20

OPTIONS

22       --name NAME
23              specify  the container NAME to limit the output to the processes
24              belonging to this container name.
25
26       --lxc  limit the output to the processes belonging to all lxc  containā€
27              ers.
28
29       [ps options]
30              The option passed to lxc-ps are the same as the ps command.
31

EXAMPLE

33       lxc-ps --name foo --forest
34              list  all  the  processes  belonging to container 'foo' and show
35              dependencies.
36

SEE ALSO

38       ps(1),
39

SEE ALSO

41       lxc(1), lxc-create(1), lxc-destroy(1), lxc-start(1), lxc-stop(1),  lxc-
42       execute(1),  lxc-kill(1),  lxc-console(1), lxc-monitor(1), lxc-wait(1),
43       lxc-cgroup(1), lxc-ls(1), lxc-ps(1), lxc-info(1),  lxc-freeze(1),  lxc-
44       unfreeze(1), lxc.conf(5)
45

AUTHOR

47       Daniel Lezcano <daniel.lezcano@free.fr>
48
49
50
51                         Mon Jul 26 17:09:32 UTC 2010                LXC-PS(1)
Impressum