VM_metrics.get_VCPUs_utilisation to percent of usage
Hello. I need to convert VM_metrics.get_VCPUs_utilisation to percent (i need summary usage of all vcpus in domU)
I i correctly understand - i need to do two requests and formula like this
delay = 5 (5 sec)
first_result-second_result
--------------------------- = %
delay*1000
Is that right? If not - can You provide to me formula to calculate vcpus usega like displays in xentop ?
Thanks.
Signature · 2 lines
Vasiliy G Tolstov <[email protected]> Selfip.Ru