This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Re: problems with xen installation

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: problems with xen installation
From: Andy Smith <andy@xxxxxxxxxxxxxx>
Date: Fri, 30 Dec 2005 13:44:59 +0000
Delivery-date: Fri, 30 Dec 2005 13:49:32 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <acb757c00512300430w78bf0b96qde89b2937dc1274b@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc
References: <acb757c00512290643r23725fb2n16d78a9fec022619@xxxxxxxxxxxxxx> <acb757c00512290818k3cb2c5eei81b9919c0b0e2d7@xxxxxxxxxxxxxx> <6a7b2d540512290856m7f0a774h8e132104050891ef@xxxxxxxxxxxxxx> <acb757c00512290908t506988d7r68dff25ffae1e5a1@xxxxxxxxxxxxxx> <6a7b2d540512290948q2103e986sa334ee7b9e2163cc@xxxxxxxxxxxxxx> <acb757c00512291014u17aac4d6u2591a4f3da070efd@xxxxxxxxxxxxxx> <6a7b2d540512291157s78259528r9a3207dd4172ccfe@xxxxxxxxxxxxxx> <acb757c00512292121q69401768n94c93188b499f453@xxxxxxxxxxxxxx> <6a7b2d540512300223pd6ecaah2bb9c874497eb255@xxxxxxxxxxxxxx> <acb757c00512300430w78bf0b96qde89b2937dc1274b@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, Dec 30, 2005 at 06:00:11PM +0530, Anand wrote:
>    I wanted to use something which doesn't force me to run anything
>    inside the domX.
>    And how will i get information from the bridges ?

You can measure the bandwidth use of the vif interfaces in dom0,
either by parsing /proc/net/devices periodically or by polling SNMP.

As you noted the vif name will change every time a domain is
restarted.  In Xen 2.x you can use the vifname config directive to
hardcode vif names per domain.  You can also do this in 3.0 if you
use a snapshot of -unstable that has this functionality (apologies,
I do not know exactly when it was (re)added).

Finally you could also use iptables in dom0 and the physdev module
to add rules for traffic going in/out particular vifs, and poll its
counters to measure bandwidth.


Attachment: signature.asc
Description: Digital signature

Xen-users mailing list