OpenVZ Forum


Home » Mailing lists » Users » Proc statistic interface for venet
Re: Proc statistic interface for venet [message #43692 is a reply to message #43688] Thu, 06 October 2011 22:22 Go to previous messageGo to previous message
Gary Wallis is currently offline  Gary Wallis
Messages: 15
Registered: July 2011
Junior Member
Dietmar Maurer wrote:
>> Each container has one also...for example for VEID=17801
>
> Oh, so I do not need to call 'vzctl exec' to get that data?
>
> - Dietmar
>
>
Why? Save time and effort just get it directly from the hardware node as
my example shows using /vz/root/VEID/proc/net/dev. We use fopen() in C
to read these files in the unxsVZ OpenVZ management system, but you can
read it from BASH or Perl with a little more overhead.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Kernel 028stab094.3 not in current
Next Topic: Checkpoint and restore on 64 bit Debian host.
Goto Forum:
  


Current Time: Sun Aug 10 22:29:54 GMT 2025

Total time taken to generate the page: 0.12029 seconds