Displaying 1 result from an estimated 1 matches for "111390000000l".
2011 Sep 13
1
cpu time totals
...u usage of the domain, but there is quite a large
gap between them. Is there something I'm missing?
See this example code using the python bindings:
>>> import libvirt
>>> c = libvirt.open('qemu:///system')
>>> d = c.lookupByID(51)
>>> d.info()[4]
111390000000L
>>> d.vcpus()[0]
[(0, 1, 12720000000L, 1), (1, 1, 2980000000L, 0), (2, 1, 3150000000L, 1), (3, 1, 2600000000L, 0)]
>>> sum([vcpu[2] for vcpu in d.vcpus()[0]])
21520000000L
>>> d.info()[4] - sum([vcpu[2] for vcpu in d.vcpus()[0]])
91760000000L
Why is this additional 91 s...