Hi Frisco,

On 15 Sep 2010, at 03:50, Frisco Ho wrote:

Hi All,

I am a newbie on XEN API. I know that the API provide some way to gather xen 
cloud platform performance statistics.

Basically a http handler ( http://wiki.xensource.com/xenwiki/XAPI_RRDs ), 
however due to some reason I need to access the statistics on the local host 
running VM and do not want to use the http handler.

What I asking is:
1. Is there any CLI command that I can get the statistics just like the http 
handler

xe vm-data-source-query - but it's quite inefficient.

2. Is there any way I can directly access to the RRD files on the host?

No, they only exist in memory.


According to the Xen Cloud Platform SDK document, "RRDs are resident on the 
server on which the VM is running, or the pool master when the VM is not 
running. The RRDs are also backed up every day."
So where is the path of RRD exactly locate on the host?

They're stored in /var/xapi/blobs/rrds - but these are only for backup, and 
don't contain current data.


--
Frisco Ho
<ATT00001..txt>

Jon
_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to