Displaying 20 results from an estimated 8000 matches similar to: "Getting CPU and memory usage statistics for the host"
2010 Oct 01
3
Monitoring and statistics through libvirt
Hi folks,
is it possible to monitor and gather statistics in realtime (CPU,
memory, HDD, network, ... - something like dstat) of guest systems
with libvirt through console from host system (KVM based)? If yes, do
those guests need to be created through libvirt? Thanks for your help
and time.
2013 Sep 25
2
Collecting system stats
Hi,
I am trying to create a report across all my KVM hypervisors using libvirt
API and I need some assistance in figuring out the right API calls. My
report will contain the total available memory, CPU, disk across all
hypervisors, versus the amount used by the virtual machines. This report
will help figure out if we are running low on hypervisor disk, CPU or
memory and if we need to add more.
I
2015 Oct 05
9
[Bug 92287] New: Display errors in Qt applications after using Android Virtual Devices
https://bugs.freedesktop.org/show_bug.cgi?id=92287
Bug ID: 92287
Summary: Display errors in Qt applications after using Android
Virtual Devices
Product: Mesa
Version: 11.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
2010 May 28
2
Cannot create qcow2 images with libvirt 0.8.1
Hi,
After upgrading to libvirt 0.8.1, I can no longer create empty volumes with no
backing store and an explicit format of qcow2.
This XML volume definition:
<volume>
<name>testserverb-data2.img</name>
<allocation>0</allocation>
<capacity units='G'>20</capacity>
<target>
<format type='qcow2'/>
2012 Sep 16
3
How are you measuring CPU usage?
Hello,
Recently I''ve received some complaints that there is excessive but
intermittent latency of network traffic to domUs on some of my
servers.
Upon investigation it seems that on some servers, indeed traffic is
occasionally delayed by up to 140ms where something like 5ms RTT
would be expected. The average RTT is not unusual; since this is
only occasional packets it only affects the
2010 May 21
2
Better error codes when stopping a VM that is already stopped
Hi,
Sometimes when stopping a virtual domain using virDomainDestroy(), I come
across a domain that is already stopped. (For example when someone already
stopped the domain manually using virsh or because the guest OS issued a
shutdown.) This is a special case that I absolutely need to catch and handle.
Unfortunately, when this happens, and I call virGetLastError() afterwards, I
always just
2013 Apr 25
2
How to tell if a hypervisor connection has died?
Hi,
What's the best way to tell if a virConnect object is not good to use anymore?
(For example because the libvirtd on the other side crashed/has been stopped
or because of some network failure)
When I try this, the first API call I do on a broken connection yields an
error with error number 38 (VIR_ERR_SYSTEM_ERROR) and all subsequent calls
yield an error number 1
2011 Oct 24
1
How to collect the VM bandwidth usage utilization
Hi Guy,
I am trying to figure out how & where can i get the bandwidth usage
utilization statistic info for all the VM, so in the end i will be able to
use it for metering purpose..
Anyone got any idea ?
Regards,
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Nov 07
1
NWFilter and IPv6
Hi,
Libvirt's nwfilter ships a number of useful filter scripts by default, but
none to handle IPv6 traffic. Is there a particular reason for that, or is that
just because nobody has got around to that yet?
One interesting thing about dealing with IPv6 traffic is that hosts often have
several auto-configured addresses, usually at least one auto-configured link-
local address under
2011 Sep 06
2
Reg: Difference between chroot & pivot_root
Hi,
What is the difference between chroot & pivot_root.
They don't seem obvious based on the man pages apart from the below
mentioned
caveats.
1) Inherited Open file descriptors, have to be explicitly closed.
2) Does not change CWD of the process, which can be overcome by doing a
chdir before & after chroot call.
Any information on this would be useful.
Thanks,
2010 May 31
1
Qemu driver not supporting VIR_DOMAIN_DEVICE_MODIFY_CONFIG yet?
Hi,
According to the docs on
http://libvirt.org/html/libvirt-libvirt.html#virDomainDetachDeviceFlags
I ought to be able to do
virDomainDetachDeviceFlags(
<domain>,
<devicexml>,
VIR_DOMAIN_DEVICE_MODIFY_LIVE | VIR_DOMAIN_DEVICE_MODIFY_CONFIG);
to detach a volume both from a currently running VM instance and permanently
from the defined config file.
If I actually try that,
2012 Feb 22
1
Bug? virGetLastError() returns NULL after virDomainCreate() if Domain running already
Hi,
As the subject line indicates, when I'm calling virDomainCreate() to start a
defined domain, and that command fails because the domain is already running at
that point, virGetLastError() will return NULL, instead of a proper pointer to
an error code.
Libvirt will, however, print an error to the console:
libvir: QEMU error : Requested operation is not valid: domain is already
running
2012 Oct 16
1
Migrating fails with "Timed out during operation: cannot acquire state change lock"
Hi,
After recently upgrading to 0.9.11 (as shipped with Fedora 17), I was just
trying to migrate a qemu domain from one host to another (using
virDomainMigrateToURI()), when I got this error message:
Unsafe migration: Migration may lead to data corruption if disks use cache !=
none
Okay, this is explainable (if a bit disappointing - I would have hoped that
qemu would be able to disable disk
2011 Sep 13
1
How to install libvirt 0.9.4 RPM on Fedora 14?
Hi,
I'm trying to install the newest version of libvirt and libvirt-client from
the rpms at ftp://libvirt.org/libvirt/ on a Fedora 14 machine. The naming of
the rpms as "libvirt-0.9.4-1.fc14.x86_64.rpm" suggests that this is exactly
the system this was made for, however, installation still does not go
smoothly.
When I try to install these packages with
yum install
2015 Mar 25
2
Listing on Host sFlow under Applications>Monitoring
Would it be possible to list the Host sFlow project in the Monitoring
section of http://libvirt.org/apps.html?
Host sFlow <http://host-sflow.sourceforge.net/>
Host sFlow is a light weight agent running on KVM hypervisors that
links to libvirt library and exports standardized cpu, memory, network
and disk metrics for all virtual machines using sFlow protocol.
Thanks,
Peter
2011 May 20
13
XCP bandwidth management
Hi all,
I''ve got XCP 1.0 up and running nicely and would like to use it in
production. However I''m struggling with the concept of bandwidth management.
It seems like such a common problem that everyone must have, but I can''t
find any clear direction in which to go.
The dedicated host I am using (Hetzner) gives me a 5TB monthly bandwidth
quota which needs to be shared
2013 Apr 12
1
Shouldn't vol-upload / virStorageVolUpload() be doing some format conversion?
Hi,
I just tried using vol-update to copy an image file to a storage pool, and I
noticed that, at least in my configuration (qemu backend, storage pool of type
"dir"), this command does not appear to be doing any kind of format
conversion. It simply copied the source file as-is over the file in which the
target volume was stored with no checks whether that even makes sense.
The
2011 Feb 11
2
Not able to capture detailed CPU information of the guest machine using Libvirt API.
Hi ,
I have two KVM guests in ubuntu host machine.I am using Python binding of
Libvirt API to query on the hypervisor and capture the CPU , memory related
information of the guest machines.
I need to capture the detail information regarding CPU like : cpu_aidle,
cpu_idle, cpu_speed, cpu_wio and memory like
:mem_cached,mem_buffers,mem_free etc. of the guest machines.
How could I get these
2012 Jan 13
3
Measuring domU traffic with vnstat
Hi Guys
I''m trying to measure the traffic of domUs using vnstat without luck.
My configuration:
Debian 6.0.3
xen 4.0.1
vnstat 1.11
I''m using bonding with two network cards.
auto bond0
iface bond0 inet manual
slaves eth0 eth1
bond-mode active-backup
bond-miimon 100
bond-updelay 200
bond-downdelay 200
bond-primary eth0
auto br0
iface br0 inet static
2011 Sep 13
1
libvirt does not recognize all devices in iscsi and mpath pools in a predictable manner
Hi,
I'm using libvirt 0.8.3 on Fedora 14 (as I wrote earlier, I'm having some
trouble updating to the newest version), and I'm having problems getting iscsi
and mpath storage pools to work in a usable and consistent manner.
I have two storage pools defined on the host machine, one for raw iscsi-
devices and one for those same iscsi devices device-mapped by multipath. They
look