[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Traffic accounting in xen.
If dom0 is Linux based then IPTables can be used. You can create a rule that matches the incoming or outgoing interface to that of one of the domUs. The rule doesn't need an action. IPTables keeps track of the number of packets and bytes of packets matching a rule. There are two things that you need to keep in mind: 1) The values will roll-over at some point. I would recommend saving and then resetting the values every week or so. 2) Your distribution might not save the current chains and packet counts at shutdown/restart. You would need to modify your start up scripts as needed. -Paul On 8/19/06, Ligesh <myself@xxxxxxxxxx> wrote: Hello folks, How do I do traffic accounting in Xen? How do I find out how much data is being used by each of the domUs. Since the only identification for the domU is the mac address, I can't find any method for doing it unless xen supports it. Any help would be greatly appreciated. Thanks. -- :: Ligesh :: http://ligesh.com _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |