Displaying 8 results from an estimated 8 matches for "user_time".
2013 Apr 19
1
problem when get the vm cpu stat
Hi all,
I try to get vm cpu stat by function "virDomainGetCPUStats", when the vm
Cpu usage is 100%, I can see from the vm shell by "top", when the info
Get by the "virDomainGetCPUStats" show only the "cpu_time" increased,
"user_time" and "system_time" was not changed at all.
Is that correct ? How can I get the vm cpu usage?
nparams = virDomainGetCPUStats(domain, NULL, 0, -1, 1, 0);
virDomainGetCPUStats(domain, params, nparams, -1, 1, 0);
Thanks,
Kevin.
-------------- next part --------------
An HTML attachmen...
2012 Aug 17
1
getCPUStats of a domain by a non-root user - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted
...-------------
libvirtError Traceback (most recent call last)
<ipython-input-23-9317cf967f6d> in <module>()
----> 1 dom.getCPUStats(True, 0)
/usr/lib/python2.7/site-packages/libvirt.pyc in getCPUStats(self, total,
flags)
1733 [{cpu_time:xxx, user_time:xxx, system_time:xxx}] """
1734 ret = libvirtmod.virDomainGetCPUStats(self._o, total, flags)
-> 1735 if ret is None: raise libvirtError ('virDomainGetCPUStats()
failed', dom=self)
1736 return ret
1737
libvirtError: Requested operation is n...
2014 Mar 12
4
Problem in getting memory statistics
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 virDomainMemoryStats
(virDomainPtr<http://libvirt.org/html/libvirt-libvirt.html#virDomainPtr>dom,
2012 Apr 16
1
What's the precision of the domain cpu stats?
Hi, everyone
I'm using libvirt and resort to virDomainGetCPUStats for cpu
usage by one domain. In my system, Ubuntu-11.10 64bit with 2 cores and
Qemu Hyperviser, this function returns something like this:
virTypedParameter[0]
{
field: "cpu_time"
type: 4
value.ul 51640610899
}
virTypedParameter[1]
{
2007 Apr 23
0
request logging: around_filters can't see error responses!
Hello,
I want to emit a structured log entry (in YAML) for every request that
hits my Rails app. For example, an entry in this log would look
something like:
---
SYSTEM_TIME: 0.0166666666666667
USER_TIME: 0.0999999999999996
DB_TIME: 0.00247621536254883
REAL_TIME: 0.091976
STATUS_CODE: 500
SESSION_ID: 64ad46a8841c66bbf64e93335cedc50d
REQUEST_ID: 32d6a42f-da58-43e2-ab27-09d3e2a775cb
RESPONSE_BODY_SIZE: 7001
REMOTE_IP: 127.0.1.1
TIMESTAMP: 2007-04-23 12:05:41.555780 -07:00
USER_AGENT: Mozilla/5.0 (X11...
2013 May 29
0
Help needed regarding "virsh cpu-stats test_vm"
...Requested operation is not valid: cgroup CPUACCT controller is not
mounted
It should show info like this.
$ virsh cpu-stats test_vm
CPU0:
cpu_time 0.025812184 seconds
vcpu_time 0.025812184 seconds
CPU1:
cpu_time 4.893484927 seconds
vcpu_time 4.893484927 seconds
Total:
cpu_time 4.924620941 seconds
user_time 1.060000000 seconds
system_time 3.050000000 seconds
We are suspecting some issue in virsh when it is trying to find to where
that cgroups is mounted in a system (default in ubuntu is
/sys/fs/cgroup/cpuset/libvirt/, but in our platform uses /dev/cgroup_xxx).
Find /proc/cgroups and /proc/mounts lo...
2014 Mar 15
0
Re: Problem in getting memory statistics
...oblem.
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 doesn't add up: user_time+system_time
!= cpu_time.
As I would need to get a %cpu usage, like virt-manager does (so it IS
possible, and it IS in python), what operation do I need to do to make this
happen?
2014-03-12 13:36 GMT+01:00 Pasquale Dir <phate867@gmail.com>:
> Hello,
> I need to get how much memory is...
2007 Dec 02
2
[Bug 13491] New: 5min.com player causes assertion
...?\000\000?\031\233??U"...
i = <value optimized out>
program = <value optimized out>
option_context = (GOptionContext *) 0x27
option_group = <value optimized out>
proxy = <value optimized out>
error = (GError *) 0x0
user_time = 2942811886
env = <value optimized out>
enable_pango = <value optimized out>
(gdb)
(gdb) q
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watch...