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-api

[Xen-API] Retrieving XEN Server available and XEN memory

To: <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] Retrieving XEN Server available and XEN memory
From: "Caruso, Joseph" <Joseph.Caruso@xxxxxxxxxxx>
Date: Fri, 30 May 2008 13:32:16 -0400
Delivery-date: Fri, 30 May 2008 10:44:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
Thread-index: AcjCexrTumnUuA7YSeiqaBnFvyL1UA==
Thread-topic: Retrieving XEN Server available and XEN memory

Hello,

 

Does anyone know how to retrieve either the amount of available server memory (not the total) or the amount of memory used by Xen?     Using the host metrics object I able to retrieve both the total and free server memory.   The Xen Center (see General tab)  memory section displays:

 

     Server:        Sun-STZENS1:   1.7 GB free of 3.7 GB available (4.0GB total)

 

     VMs:

 

 

     Xen:            336.1 MB

 

 

I want to retrieve the underlined values via the API.

 

Thanks,
Joe

 

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>