[libvirt] cpu values

Tavares, John John_Tavares at bmc.com
Fri Mar 12 12:18:56 UTC 2010

Hi Dan.

Ok, thanks.  I am trying to play around with this and noticed that my code with does use libvirt reports the exact same values as xm.  Either way, I do not see the values even being close.  Is this expected and if so why??

-----Original Message-----
From: Daniel Veillard [mailto:veillard at redhat.com] 
Sent: Friday, March 12, 2010 5:44 AM
To: Tavares, John
Cc: libvir-list at redhat.com
Subject: Re: [libvirt] cpu values

On Thu, Mar 11, 2010 at 04:46:45PM -0600, Tavares, John wrote:
> I am trying to compare the results that I am getting on a RHEL 5.3 server using xm list (using libvirt.so.0.3.3) against both my Dom0 and my Linux DomU on the same server to see if the cpu values match to what the kernel is reporting in /proc/stat.  Here is an example of what I am seeing on both:

  I'm aftaid you're confused. xm is the xen direct command line tool
it doesn't use libvirt at all. libvirt command line tool equivalent is


Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

More information about the libvir-list mailing list