[Users] OpenVZ vs. vserver
Kir Kolyshkin
kir at openvz.org
Tue Mar 27 14:32:43 EDT 2007
Enrico Weigelt wrote:
> * Darryl Ross <spam at afoyi.com> wrote:
>
> Hi,
>
>
>> One other thing, which isn't really a major issue, just an annoyance,
>> is that if I run netstat or ps on the host it shows me all of the sockets
>> open and programs running, even those inside the guests, whereas under
>> linux-vserver the host machine is a context in it's own right, so they
>> are hidden.
>>
>
> I personally prefer that way, so I can easily see what's going
> on in the VPS. But there should be some additional info from
> which VPS the stuff is coming from. Maybe the VPS' process names
> could contain some prefix ie. "[${VPSID}]".
>
You can use vzps/vztop utils from vzprocps
(http://download.openvz.org/contrib/utils/), whey show VEID.
OR, alternatively, you can look up VEID manually from the 'envId' field
of /proc/$PID/status file.
More information about the Users
mailing list