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] newbie question about xenapi (get la and free memory)

To: "v.tolstov@xxxxxxxxx" <v.tolstov@xxxxxxxxx>
Subject: Re: [Xen-API] newbie question about xenapi (get la and free memory)
From: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Date: Wed, 9 Jun 2010 12:22:35 +0100
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 09 Jun 2010 04:22:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1276081977.2399.12.camel@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <1276066715.2399.7.camel@xxxxxxxxxxxxxx> <F9A38528-EB09-478C-9E8A-0E2095FB5B25@xxxxxxxxxxxxx> <1276081977.2399.12.camel@xxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcsHxhANm8Mncn2ZQye211Rn6ihsTQ==
Thread-topic: [Xen-API] newbie question about xenapi (get la and free memory)
It's not XMLRPC, it's a normal http handler. Just issue a 'GET' request to the 
URIs mention in the wiki page.

I'm afraid I don't know PHP, so I can't help with the code!


On 9 Jun 2010, at 12:12, Vasiliy G Tolstov wrote:

> В Срд, 09/06/2010 в 12:02 +0100, Jonathan Ludlam пишет:
>> Hi Vasiliy,
>> Have a look here:
>> http://wiki.xensource.com/xenwiki/XAPI_RRDs
>> We don't record the load average from a guest, but we do record the CPU 
>> usage and free memory.
>> Hope this helps!
>> Jon
> Thank You very much. But i can fully understand how can i get this rrd
> files from xml-rpc? Can You provide some help?
> in php i wrote:
> <?php
> $xen = new xmlrpc_client("http://$host:$port";);
> $session = validate($xen->send('session.login_with_password',
> array("","")));
> ...
> ...
> ?>
> -- 
> Vasiliy G Tolstov <v.tolstov@xxxxxxxxx>
> Selfip.Ru

xen-api mailing list