Changes

Jump to: navigation, search

Monitoring bandwidth of containers

6 bytes removed, 12:32, 23 January 2010
Changing %-11d to %s to get around the limit of a 32 bit signed integer.
X=`/usr/sbin/vzctl exec $i "grep venet0 /proc/net/dev"`
eval `echo $X | cut -f2 -d: | awk '{printf"IN=%-11ds\nOUT=%-11ds\n", $1, $9}'`
for g in IN OUT;do
Anonymous user

Navigation menu