WARNING - OLD ARCHIVES

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/
Xen

xen-users

[Top] [All Lists]

RE: [Xen-users] How to tell which tapX interface belongs to which domain

To: "Christian Horn" <chorn@xxxxxxxxxxxx>
Subject: RE: [Xen-users] How to tell which tapX interface belongs to which domain...
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Tue, 9 Oct 2007 12:00:29 +1000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2007年10月08日 19:01:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071008165642.GA17799@xxxxxxxxxxxx>
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>
References: <AEC6C66638C05B468B556EA548C1A77D012499FA@trantor > <20071008165642.GA17799@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgJzELDTIX9LpMZTNCgY87GWqWTnQASyulw
Thread-topic: [Xen-users] How to tell which tapX interface belongs to which domain...
> On Mon, Oct 08, 2007 at 03:36:39PM +1000, James Harper wrote:
> > I've put together a script to get the traffic counters for a given
vm
> > interface (eg "vmif_traffic <domain> <if index>") and it works great
> > except when the interface backend is ioemu, because all the traffic
goes
> > through the tapX interface instead of the vif interface.
>
> I'm just doing the same, and besides not getting i/o yet i also miss
the
> number of tap-interfaces, would fit into 'xm list -l <domain>' output.
> An idea to get the mapping could be to have a look on what
tap-interfaces
> are in use bevore domain-creation and after, the interfaces in use now
> are the ones belonging to the domain.
>
> Had a look at the filehandles that are open for /dev/net/tun and the
> qemu-dm processed, and at the logfiles, without better hints.
I noticed that when I do a 'brctl show', the tap interface is on the
line before the vif interface, so I made use of that. Hopefully it's
always true!
James
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] Re: Using vncserver and vncviewer on XEN problems... , Paradox
Next by Date: [Xen-users] Identifying HVM Compatible Chipsets/Motherboards for AMD Athlon 64 X2 Dual-Core Processors , GNUbie
Previous by Thread: Re: [Xen-users] How to tell which tapX interface belongs to which domain... , Christian Horn
Next by Thread: Re: [Xen-users] How to tell which tapX interface belongs to which domain... , Christian Horn
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /