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-API] How to get slave server's performance

To: wanghl <wanghl@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-API] How to get slave server's performance
From: Stefan de Konink <skinkie@xxxxxxxxx>
Date: Tue, 11 Dec 2007 03:56:54 +0100 (CET)
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 10 Dec 2007 18:57:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2071C6F8C3C74E4D866DB3A15285521D@voewanghl>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 11 Dec 2007, wanghl wrote:

> I want to get the cpu utilization of Slave server in a pool.
> (I can get Master server's performance already now)
> Is there some api I can use directly?

Check the XenAPI document, VM_Metrics is the data you look for I guess :)

> Or I must logon to Master server and use xe command?

You can do both actually :)

> Another question:
> If I have a slave server, can I find it's master just by api?

Yes, you can request the host of the VM. See the same document :)


xen-api mailing list

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