Thorsten Schifferdecker wrote:
> Hi Ian,
>
> a) use the /proc/net/dev of your VE:
>
> # vzctl exec <VEID> grep venet0 /proc/net/dev | cut -d":" -f2 | awk
> '{print $1"\n"$9}'
>
> xxx
> xxx
>
> b) or, VE has enabled sysfs:
>
> # vzctl exec <VEID> cat /sys/class/net/venet0/statistics/{r,t}x_bytesThese would both be reset on a customer rebooting their VE wouldn't they? Is there any way a user of a VE could manipulate the figures in either of these places? Thanks! -- Ian P. Christian ~ http://pookey.co.uk
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Users mailing list [email protected] https://openvz.org/mailman/listinfo/users
