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

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

Reply via email to