[Openstack] Accessing realtime vm details from hypervisor
Dhvanan Shah
dhvanan at gmail.com
Fri Aug 14 01:38:15 UTC 2015
Hi,
I wanted to access the real time memory and cpu usage of an instance, not
whats its been allocated but how much of what's been allocated is it using.
I can do this by logging into the instance and doing a top or htop, but I
want to do it by not interacting with the instance directly or logging into
it.
I thought of accessing these details thru the hypervisor. So I used -
*virsh vcpucount **<instance-name> (cpu)*
*virsh dommemstat <instance-name>* (memory)
But again these do not give the current usage but what's been allocated.
Could someone help me with this, as to how I can do this or if there is a
better way to do this.
Thanks,
Dhvanan Shah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150814/89d3d942/attachment.html>
More information about the Openstack
mailing list