getCPUStats
Hi,
I am using libvirt version 1.0.2.
root@compute1:~# libvirtd --version
libvirtd (libvirt) 1.0.2
when I am trying to getCPUStats as following:
return int(domain.getCPUStats(True, 0)[0]['cpu_time'])
I am getting following error:
AttributeError: virDomain instance has no attribute 'getCPUStats'
How can I reslove this error and can get CPU Status of VMs?
Thanking You, Kashyap
Hi, is this just a libvirt question?
ya it is libvirt question. In my code i want to get VM CPU and i tried to get using getCPUStats command but i got that error which tells that virDomain has no attribute 'getCPUStats'.