OpenVZ Forum


Home » Mailing lists » Users » OpenVZ vs. vserver
Re: OpenVZ vs. vserver [message #11587 is a reply to message #11582] Tue, 27 March 2007 18:32 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Enrico Weigelt wrote:
> * Darryl Ross <spam@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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Best way to detect whether I'm in VPS ?
Next Topic: New kernel branches structure
Goto Forum:
  


Current Time: Wed Jun 25 23:28:11 GMT 2025

Total time taken to generate the page: 0.02823 seconds