[Users] Proc statistic interface for venet

Gary Wallis ggw at unixservice.com
Thu Oct 6 18:22:37 EDT 2011


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
> 
> 
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
> 
> 
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.


More information about the Users mailing list