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 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] network usage gathering

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] network usage gathering
From: Thomas Goirand <thomas@xxxxxxxxxx>
Date: Wed, 24 Jun 2009 09:36:29 +0800
Delivery-date: Tue, 23 Jun 2009 18:37:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a1dbc5550906230806t6eeb1c46w28daa924282fee19@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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Openpgp: id=98EF9A49
Organization: GPLHost
References: <a1dbc5550906230806t6eeb1c46w28daa924282fee19@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
Mike Denning wrote:
> I've run into a problem gathering usage for my xen virtual systems. With
> my old model I used to gather all network usage via my cisco devices
> using the the counters for each port. Each system had it's own port on
> the switch, and I tracked network usage accordingly. Now that I'm using
> xen for virtual systems, and multiple vm's share the same switch port,
> i'm not exactly sure what my best option is for tracking usage.
> 
> I thought I may be able to setup vlans on the switch, and bind each vm
> to a different vlan using vconfig... but it seems like there has to be a
> better solution than that. Has anyone done anything like this? Any
> insight would be greatly appreciated.
> 
> -- Mike

There IS a solution. In your dom0, do:

cat /proc/net/dev

Thomas

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>