Hi all, I try to get vm cpu stat by function "virDomainGetCPUStats", when the vm
Cpu usage is 100%, I can see from the vm shell by "top", when the info Get by the "virDomainGetCPUStats" show only the "cpu_time" increased, "user_time" and "system_time" was not changed at all. Is that correct ? How can I get the vm cpu usage? nparams = virDomainGetCPUStats(domain, NULL, 0, -1, 1, 0); virDomainGetCPUStats(domain, params, nparams, -1, 1, 0); Thanks, Kevin.
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users