similar to: What does cpu_time returned by virDomainGetCPUStats mean?

Displaying 20 results from an estimated 400 matches similar to: "What does cpu_time returned by virDomainGetCPUStats mean?"

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] {
2012 Jun 25
1
Is it possible to in live migration?
Hi all, In live migration using shared memory, there would be a following step to input the password after typing: migrate --live vm_name qemu+ssh://Destination_IP/system. . I wonder if it is possible to include the password in the URI so that the password procedure can be avoided? Thanks, Yi -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Sep 07
1
How to dedicate a NIC for VM traffic without assigning it an IP
I am testing out a new server with RHEL6 running KVM. We have a few NICs on the server, one of which we would like to dedicate to network traffic to/from the virtual guests. Is it possible to do this without assigning an IP address to the NIC? We're currently doing something like this with Vmware Server, HP's HPVM for HP-UX/IA, and IBM's PowerVM for AIX. -- albert chin (china at
2012 May 28
1
What features of kernel are required to support virDomainGetCPUStats?
Hi, Weeks ago, I developed my app under ubuntu-11.10 (kernel 3.0) with lilbvirt-0.9.10. In my code , I used virDomainGetCPUStats to query cpu usage info of domains, and it worked well. However, today, I port my code to ubuntu-10.04.4 (kernel 2.6.32) with libvirt-0.9.10, I find the function virDomainGetCPUStats can't work and complains "this function is not supported by the connection
2012 May 28
0
[libivrt-users] What features of kernel are required to support virDomainGetCPUStats?
Hi, Weeks ago, I developed my app under ubuntu-11.10 (kernel 3.0) with lilbvirt-0.9.10. In my code , I used virDomainGetCPUStats to query cpu usage info of domains, and it worked well. However, today, I port my code to ubuntu-10.04.4 (kernel 2.6.32) with libvirt-0.9.10, I find the function virDomainGetCPUStats can't work and complains "this function is not supported by the connection
2013 Oct 15
0
virDomainGetCPUStats missing in Java API bindings ?
Hi All I am trying to get the performance statistics for KVM using Java bindings. I found some api's for getting memory stats but not able to find any for cpu stats. I found virDomainGetCPUStats which look like its going to return cpu stats for a VM at http://libvirt.org/html/libvirt-libvirt.html and http://libvirt.org/hvsupport.html . I couldnt find these methods getting called from java
2012 Apr 12
2
No way to obtain guest's cpu and mem usage?
Hi everybody, I'm using the PHP API to make a web interface interact with the virtual machines installed on some hypervisor. Everything is fine, but I would like to find a way to get the guest's cpu and mem usage, so that it should be possible to make some rrd graphs. I didn't find out anything and also it seems looking around that there is no way to obtain those data. What is strange
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?
2012 Jan 16
2
Quota is not working (Debian Squeeze - Dovecot 1.2)
Hi all, I'm trying to make quota work in Squeeze (Dovecot 1.2.15-7). The quota module is correctly loaded and, when receiving a message, from the log I see these messages: Jan 16 11:20:04 mail-1 dovecot: deliver(testquota@<mydomain>): Loading modules from directory: /usr/lib/dovecot/modules/lda Jan 16 11:20:04 mail-1 dovecot: deliver(testquota@<mydomain>): Module loaded:
2012 Mar 08
1
Setting the default Hypervisor
Hi all, I'm using libvirt with qemu-kvm and virtualbox on the same system. Everything is working, but I want to change the default uri fo virsh. At the moment, if i run: # virsh uri vbox:///system and because of this, if I try to list my vm(s) in this way: # virsh list --all Id Name State ---------------------------------- the output is empty. I need always to pass the
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
Hello, I'm trying to use libvirt as a non-root user to obtain statistics on the CPU usage by VMs using the Python API. I'm performing basically the following steps: import libvirt conn = libvirt.openReadOnly(None) dom = conn.lookupByUUIDString('268e38ea-1bc7-41e4-c19e-8eff682e58e4') dom.getCPUStats(True, 0) However, they result in the following error: libvir: QEMU Driver
2013 May 29
0
Help needed regarding "virsh cpu-stats test_vm"
Hi, We are implementing feature called CPU separation in the platform. So, guest VMs will have dedicated cores allocated using cgroups (cgroups hierachy related VMs managed by libvirt). virsh cpu-stats command is not working in our platform : virsh # cpu-stats test_vm error: Failed to virDomainGetCPUStats() error: Requested operation is not valid: cgroup CPUACCT controller is not mounted It
2011 May 30
0
Forward routed network bridge on system's vlan
Hi all, I created a two node cluster that manages virtual machines with two servers connected via a cross cable on the network 10.0.0.0/24. I want that machines that runs on different servers in the network 172.16.0.0/24 can see all the others. To make this possible I've configured a vlan on each server: ... ... 5: eth1.111 at eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
2012 Apr 04
0
Bare libvirt web interface
Hi, I set up a virtual environment based upon KVM/libvirt/pacemaker. When managing this I cannot use virt-manager or virsh, since everything is managed by the cluster. So when I need to migrate a vm I must drive the operation from pacemaker (via crm shell program). I'm ok with this kind of management, but what I need now is just a bare web interface to make the users see just the position (=
2012 Mar 28
1
[API reference] confused by CPU time term
Hi, everyone I'm writing a virtual machine monitor based on libvirt. As I read the api reference, I found I'm confused by some terms. 1, What is cumulative I/O wait CPU time? API reference says that VIR_NODE_CPU_STATS_IOWAIT indicate cumulative I/O wait CPU time. I'm confused by this time. As far as I know, when cpu meets IO wait situation, it will schedule another task, so,
2012 Apr 05
2
Is this Race Condition?
Hi, everyone I'm writing application using libvirt and I need call virDomainGetCPUStats to get domain cpu stats . I learn from API reference that this function has to be called when domain is running. So my question is if there is an atomic way to test the domain's state and get its stats? Or, it's ok to call this function when domain is not active, but caller just gets error
2014 Aug 12
1
Libvirt Java API to get CPU usage of VM (KVM)
Hi all libvirt-users, Is there a counterpart on Java of the function virDomainGetCPUStats that is based on C API? Because I am trying to create a program based on java to get the CPU usage of a Guest/Domain/VM in KVM using the Libvirt Java API. Honestly, I am having a hard time in starting my program. I have no idea where to start. I mean, what functions do I need to get the CPU usage of
2010 Nov 04
0
Problem booting Microsoft Windows KVM virtual machine
Hi all, I'm having problems with a vm's startup, I cloned the entire disk of a Windows 2000 with dd on a drbd device, that disk was configured with two partitions. I'm able to see all the partitions contents by using kpartx and mount them: # kpartx -l /dev/drbd0 drbd0p1 : 0 202751488 /dev/drbd0 32 drbd0p2 : 0 285567360 /dev/drbd0 202751520 The problem is that when i try to startup
2006 May 19
2
sharing a printer
Hi folks, I installed a Samsung ML-1610 on CUPS and on my linux server the printer do its work fine. Now I'm trying to share the printer on my local network (windows home edition clients). My smb.conf: [samsung] comment = Samsung ML-1610 path = /tmp guest ok = Yes printable = Yes printer name = Samsung ML-1610 When I install the printer on the
2020 Jan 10
2
Re: [PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
On Fri, Jan 10, 2020 at 02:15:10PM +0000, Daniel P. Berrangé wrote: > Do you use the libvirt "secret" APIs at all (disk encryption, network > disk auth passwords) ? If so you will need "libvirt-daemon-driver-secret" > too. How about any other libvirt sub-driver APIs ? Networking ? Host > dev, etc ? The full list of APIs we use is attached, assuming I got my