[Devel] Re: 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
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list