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

Reply via email to