Displaying 1 result from an estimated 1 matches for "132240000000l".
2014 May 23
0
How i can calculate cpu utilization percentage for host using python libvirt API.
...the following output.Is there any
way to calculate cpu percentage from the following output?
Is there any other function availabe for calculating cpu utilization
percentage?
output:{'kernel': 34870000000L, 'idle': 3522190000000L, 'user':
209930000000L, 'iowait': 132240000000L}
import libvirt
conn=libvirt.open('qemu+ssh://root@192.168.1.4/system')
conn.getCPUStats(-1,0)
Thanks and Regards,
Deepak S
-------------------------
Message sent via Atmail Open - http://atmail.org/