Re: [libvirt-users] Problem in getting memory statistics

2014-03-17 Thread Claudio Bley
At Sat, 15 Mar 2014 23:33:59 +0100, Pasquale Dir wrote: > > I have another problem. > As in java bindings there is no way to obtain cpu stats I decided to use a > python script. > It gives me, for the guest domain, cpu time, system time and user time. > Now, what does it mean cpu time? I though th

Re: [libvirt-users] Problem in getting memory statistics

2014-03-17 Thread Claudio Bley
[please don't top post on technical lists. it is easier to follow conversation and less likely you forget answering a question if you reply to the questions in line] [please keep the conversation on the list - I've re-added libvirt-users] At Sat, 15 Mar 2014 10:15:15 +0100, Pasquale Dir wrote:

Re: [libvirt-users] Problem in getting memory statistics

2014-03-15 Thread Pasquale Dir
I have another problem. As in java bindings there is no way to obtain cpu stats I decided to use a python script. It gives me, for the guest domain, cpu time, system time and user time. Now, what does it mean cpu time? I though that it could be the overall cpu time given to this vm...but the sum do

Re: [libvirt-users] Problem in getting memory statistics

2014-03-14 Thread Claudio Bley
At Wed, 12 Mar 2014 13:36:50 +0100, Pasquale Dir wrote: > > Hello, > I need to get how much memory is used by a guest system, in order to > implement some monitoring function which tells me if the system is > overstressed. > > I am currently using java apis and the binding which was suggested to

[libvirt-users] Problem in getting memory statistics

2014-03-12 Thread Pasquale Dir
Hello, I need to get how much memory is used by a guest system, in order to implement some monitoring function which tells me if the system is overstressed. I am currently using java apis and the binding which was suggested to me was Domain.memoryStats(); This is a binding to int virDomainMemory