[libvirt] cpu values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

 

From Dom0:

 

$ sudo /usr/sbin/xm list;cat /proc/stat | grep cpu 

Name                                      ID Mem(MiB) VCPUs State   Time(s)

Domain-0                                   0      746     1 r-----  73722.3

rhel5_01                                   1      255     1 -b----  18558.4

 

cpu  412542 1477862 522101 1111350509 347838 0 262 487234

cpu0 412542 1477862 522101 1111350509 347838 0 262 487234

 

From DomU (rhelt_01):

 

$ cat /proc/stat | grep cpu 

cpu  138184 148634 246128 924538039 467802 133 178 339822

cpu0 138184 148634 246128 924538039 467802 133 178 339822

 

The results of the two do not appear close.  Should the cpu times match, is this a bug, or does Time mean something different than I think it does??

 

Thanks.

 

John

 

 

 

 

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]