Re: [Users] Proc statistic interface for venet

2011-10-06 Thread Gary Wallis
This is how I get traffic data... [root@xc7 ubc]# grep venet0 /proc/net/dev venet0:205043590448 1030583416000 0 0 0 199946969183 10428423760 14520 0 0 0 [root@xc7 ubc]# Dietmar Maurer wrote: Is there some interface to get statistics

RE: [Users] Proc statistic interface for venet

2011-10-06 Thread Dietmar Maurer
: [Users] Proc statistic interface for venet This is how I get traffic data... [root@xc7 ubc]# grep venet0 /proc/net/dev venet0:205043590448 1030583416000 0 0 0 199946969183 10428423760 14520 0 0 0 [root@xc7 ubc]# Dietmar Maurer

Re: [Users] Proc statistic interface for venet

2011-10-06 Thread Gary Wallis
Each container has one also...for example for VEID=17801 [root@xc7 ubc]# grep venet /vz/root/17801/proc/net/dev venet0:205802061231 1034310182000 0 0 0 200705808251 10466085270 1452 Dietmar Maurer wrote: Well, I want statistics for each container.

RE: [Users] Proc statistic interface for venet

2011-10-06 Thread Dietmar Maurer
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@openvz.org https://openvz.org/mailman/listinfo/users

Re: [Users] Proc statistic interface for venet

2011-10-06 Thread Gary Wallis
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@openvz.org https://openvz.org/mailman/listinfo/users Why? Save

RE: [Users] Proc statistic interface for venet

2011-10-06 Thread Dietmar Maurer
Why? Save time and effort just get it directly from the hardware node as my example shows using /vz/root/VEID/proc/net/dev. Well, that file is simply not there on my system (latest openvz 2.6.32 kernel). I can only see it inside the VM. So what kernel do you use exactly? - Dietmar