<div dir="ltr">Hi All <div><br></div><div>I am trying to get the performance statistics for KVM using Java bindings. I found some api's for getting memory stats but not able to find any for cpu stats. </div><div>I found virDomainGetCPUStats which look like its going to return cpu stats for a VM at <a href="http://libvirt.org/html/libvirt-libvirt.html">http://libvirt.org/html/libvirt-libvirt.html</a> and <a href="http://libvirt.org/hvsupport.html">http://libvirt.org/hvsupport.html</a> . </div>
<div><br></div><div>I couldnt find these methods getting called from java source too. Which libvirt version does Java API correspond to ? I m using Java API 0.5.1 . </div><div>If i want to get the virDomainGetCPUStats which is available from 0.9.x versions of libvirt, whats the way to get it in Java API bindings. </div>
<div><br></div><div>Thanks</div><div>Atul</div></div>