Re: What does cpu_time returned by virDomainGetCPUStats mean?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



在 2012年4月16日 下午7:56,RaSca <rasca@xxxxxxxxxxxxxxxxxxxx> 写道:
> Il giorno Lun 16 Apr 2012 13:37:24 CEST, Zhihua Che ha scritto:
> [...]
>>    How can I get the CPU usage of the domain?
> [...]
>
> As Daniel told me two days ago, cpuTime shows the absolute CPU time
> consumed since boot. To get % CPU time, take two readings 'n' seconds
> apart and calculate the delta between them.
>


I guess so, but what is the precision of the returned cpu time. I
don't think it's 1/HZ as host machine is according to my experiments.


Thanks for your reply.

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux