
16 Apr
2012
16 Apr
'12
8:51 a.m.
在 2012年4月16日 下午7:56,RaSca <rasca@miamammausalinux.org> 写道:
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.