Displaying 1 result from an estimated 1 matches for "cputime1".
Did you mean:
cputime
2015 Jul 24
0
Re: virsh dominfo does not show correct cpuTime
I was getting vCPU use time outside of guest with libvirt-python API, and
them calculate utilization with (cpuTime2 - cpuTime1) / (t2 - t1). I was
not doing this inside the guest os.
2015-07-24 15:09 GMT+08:00 2020human <human2020@qq.com>:
> You calculate is vCPU use time not utilization。
>
> use_time/total_cpu_time is utilization。
>
> total_cpu_time=`cat /proc/stat |sed -n '1p'|awk '{ p...