[Devel] Re: container userspace tools

Ian jonhson jonhson.ian at gmail.com
Mon Oct 27 09:29:40 PDT 2008


> 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
---------------------------------------------------------------------------------------------

>  What is the distro on your vm?

Ubuntu 7.10

> You're
> starting the container as root I assume...

I have to run above commands with root, or it doesn't work.


Best Regards,

Ian
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list