There are several approaches, such as running snmpd on the host, and
doing an snmpwalk,
or dont a cat on /proc/net/dev and poll the device changes there.
http://mythic-beasts.com/presentations/oxlug/text46.html
Theres a talk from a UML hosting provider, but its bascially the same thing.
-Tim
--
Timothy Doyle
CEO
Quantact Hosting Solutions, Inc.
tim@quantact.com
http://www.quantact.com
Aaron // LT wrote:
> This has probably been answered before, but I couldn''t find
anything
> while searching. Whats the best way to check the bandwidth usage for
> a DomU? Also, is there a way to keep track of it even when the dom0
> reboots, as well as the domUs?
>
> Has anybody created any useful bash scripts for managing a large
> number of domUs? (i.e. restart by domU name, create loopback devies, etc)
>
> Any help is greatly appreciated!
>
> Thanks,
> Aaron
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>
>
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users