I have been looking at ways of counting the traffic to and from VM's. (currently running Server beta on a linux host.)
I found the /proc/vmnet/userif interface but my tests haven't yet been conclusive; the counts for "read" and "written", are those the number of packets/frames or are they to be interpreted as byte counters? (If it is the latter, a fairly simple script should do it)
I also looked at perhaps a way to combine mrtg and vmware-cmd to produce nice graphs from the host's perspective but it seems there is no property defined for network traffic (at least not in server beta that is)? I was looking through the api documentation and it seems there is a property in the system.net* hierarchy on ESX but that isn't there on Server beta?
Ofcourse I can monitor upstream at the switch/router, as I do already, but it would be nice to differentiate in the amount of traffic the different VM's generate/receive.
Any thoughts, or recommended further reading? I'll try and keep you posted on any progress..
thanks!