container userspace tools

Serge E. Hallyn serue at us.ibm.com
Mon Oct 27 09:49:23 PDT 2008


Quoting Ian jonhson (jonhson.ian at gmail.com):
> > And you say that 'ps -ef' in the container shows all processes
> > on the system?
> >
> 
> No, just two processes. similar as Denial's:
> 
> ----------------------------------------------------------------------------------------------
> $ sudo  lxc-execute -n foo -- ps -ef --forest
> [sudo] password:
> UID        PID  PPID  C STIME TTY          TIME CMD
> root         1     0  0 23:24 ?        00:00:00 lxc-execute -n foo -- ps -ef --f
> root         2     1  0 23:24 pts/0    00:00:00 ps -ef --forest
> ---------------------------------------------------------------------------------------------

Oh, so in fact pids are being properly isolated.

-serge


More information about the Containers mailing list