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

To: Alexandros Manakos <alexandros@xxxxxxxxxx>
Subject: Re: [Xen-users] xm top
From: Richard Jones <rjones@xxxxxxxxxx>
Date: Mon, 26 Nov 2007 13:57:31 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 26 Nov 2007 05:56:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <474ACE54.7080400@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20070926)
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.


Xen-users mailing list

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