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] Retrieving the load of each domU

To: "'Ugo PARSI'" <ugo.parsi@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Retrieving the load of each domU
From: "Steffen Heil" <lists@xxxxxxxxxxxxxxx>
Date: Mon, 27 Mar 2006 18:44:52 +0200
Delivery-date: Mon, 27 Mar 2006 16:46:26 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f29fd8170603270642x51c89344l6c67b5c4ac736110@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZRrOtE4A5RHapLRUaHCpOLr/al/AAEJOyg
Hi

Use "xm list --long"
It wont give you cpu average, but cpu time.
Messure again (sometime later) and do the maths yourself.
(Current load will anyway not be too good for load balancing - everytime a
special job runs, that needs more computing power for only a few seconds,
you would move that VM...)

Regards,
  Steffen


> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ugo PARSI
> Sent: Monday, March 27, 2006 4:43 PM
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Retrieving the load of each domU
> 
> Hello,
> 
> I'm trying to get the load (average load or CPU usage) of 
> each domU in order to script a load balancing solution.... 
> how can I retrieve this information from a text command or 
> from an interface structure ?
> 
> The only thing that seems to work is the 'xm-top' command, 
> with the cpu percentile, which is curses based and so this is 
> quite hard to parse...
> 
> Thanks a lot,
> 
> Ugo PARSI
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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