Skip to contentSkip to conversation

VM_metrics.get_VCPUs_utilisation to percent of usage

DISCUSSION Vasiliy G Tolstov 1 participant 1 message Jul 23, 2010

lore
Share & tools
lore
#0 lore raw

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