Re: [libvirt-users] problem when get the vm cpu stat

2013-04-19 Thread Michal Privoznik
On 19.04.2013 09:40, Wangkai (Kevin,C) wrote: > 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” in

[libvirt-users] problem when get the vm cpu stat

2013-04-19 Thread Wangkai (Kevin,C)
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