[PATCH v2 0/2] BSD: implement nodeGetCPUStats

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

 



Updated patch which includes virsh update to not output
unsupported CPU stat fields.

For example, Linux output:

user:             1.0%
system:           1.0%
idle:            98.0%
iowait:           0.0%
usage:            2.0%

Includes iowait, doesn't have intr.

FreeBSD output:

user:             0,8%
system:           0,9%
idle:            97,5%
intr:             0,8%
usage:            2,5%

Includes intr, doesn't have iowait.


Roman Bogorodskiy (2):
  BSD: implement nodeGetCPUStats
  virsh: report only filled values in 'nodecpustats'

 include/libvirt/libvirt.h.in |   8 +++
 src/nodeinfo.c               | 104 +++++++++++++++++++++++++++++++++++++++
 tools/virsh-host.c           | 113 +++++++++++++++++++++++++++----------------
 3 files changed, 184 insertions(+), 41 deletions(-)

-- 
1.8.4.3

--
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]