|
|
|
|
|
|
|
|
|
|
xen-api
[Xen-API] Re: get used guest memory
More information about guest:
[root@xcpguest ~]# ps ax | grep xe-daemon
1093 ? S 0:00 /bin/bash /usr/sbin/xe-daemon -p
/var/run/xe-daemon.pid
[root@xcpguest ~]# rpm -qa | grep xe-guest
xe-guest-utilities-0.5.0-579
xe-guest-utilities-xenstore-0.5.0-579
Cheers!
On Wed, Oct 13, 2010 at 5:18 PM, Marco Sinhoreli <msinhore@xxxxxxxxx> wrote:
> Hi guys:
>
> I tried to get all used memory in guest CentOS using the api running
> on top XCP 0.5 and the string returned null.
>
> <code>
> vm = conn.VM.get_by_uuid(vm_uuid)
> vmgm = conn.VM.get_guest_metrics(vm)
> memory_used = conn.VM_guest_metrics.get_memory(vmgm)
> print memory_used
> </code>
>
> <output>
> {}
> </output>
>
> Some idea?
>
> Cheers!
>
> --
> Marco Sinhoreli
>
--
Marco Sinhoreli
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|
|
|
|
|