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] xm top

To: "Richard Jones" <rjones@xxxxxxxxxx>
Subject: Re: [Xen-users] xm top
From: weiming <zephyr.zhao@xxxxxxxxx>
Date: Mon, 26 Nov 2007 08:58:11 -0500
Cc: Alexandros Manakos <alexandros@xxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 26 Nov 2007 05:58:55 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Yf72Ut1Q+hYtddTRN/X0UWr9vTGw0aXxDbUSSiM/Yw0=; b=ApqH0PM7EUqR9ENHHFxpDf5f6sp9BoNbEgsbO1OTaguDkMtqul6yZ85dzyU0zZ1tLfFpgaYQsy953UhrefR/+4TOm3IBs+Y7+KXx/McVm8gAvZSanjYqBUful2IAOTIgky8/eb4MGDA/jCpJmV2bdDy362GfkQtt5J/LhrWMVPo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=w9UcKlN+HdPUygVzgo5d1nghIzKGXWTsJ0F03ytPPAoOD/kGYkSWMrmS3ndfJHaZDt+Fl0yuhkL6I30CyUH798NqRKKnzL5v3zMDtpx1xi1sUbPrpxhCJq9TvV2gwDY54N7L568ZOCzgmEScBHPDVxnDLfZXf4iPkvqEm5H0WbY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <474AD0CB.50004@xxxxxxxxxx>
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: <474ACE54.7080400@xxxxxxxxxx> <474AD0CB.50004@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I guess you can get those info from xenstore

On Nov 26, 2007 8:57 AM, Richard Jones <rjones@xxxxxxxxxx> wrote:
> Alexandros Manakos wrote:
> > Hello everybody!
> >
> > I´d like to know where "xm top" gets its information from. I want to get
> > those informations (cpu-load, mem etc. from the domUs) and display them
> > with php in a browser. So are the informations stored and updated in a
> > textfile or something like that? Can anybody help me with this?
>
> libvirt can pull out this information for you.  http://libvirt.org/
> eg: http://libvirt.org/html/libvirt-libvirt.html#virDomainBlockStats and
> http://libvirt.org/html/libvirt-libvirt.html#virDomainInterfaceStats
>
> Unfortunately PHP is one of the few widespread languages that we don't
> have bindings for at the moment, so you may need to drop into C or use
> another language for web development.
>
> Rich.
>
> _______________________________________________
> 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

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