Description of problem: virsh freecell command returns data in the format of kB e.g. 0: 31653494784 kB That is definitely not kilobytes, looks more like bytes to me. I'm using nagios to and an awk script to fix the math so PNP will graph the data, but it would be nice to have the proper unit shown in the output instead of having to awk it. Version-Release number of selected component (if applicable): libvirt-0.3.3-14.el5 How reproducible: always Steps to Reproduce: 1. type virsh freecell 2. observe the output 3. Actual results: output says it is kB, but the unit is actually bytes Expected results: print the proper unit of measurement Additional info:
To be fixed as part of the libvirt rebase in RHEL-5.4: [root@test2 ~]# virsh freecell 0: 74760 kB [root@test2 ~]# free total used free shared buffers cached Mem: 4997140 4921884 75256 0 351884 4259828 -/+ buffers/cache: 310172 4686968 Swap: 1052248 0 1052248 [root@test2 ~]# rpm -q libvirt libvirt-0.6.3-3.el5 [root@test2 ~]# You should be able to test this with the Beta of Update 4 Daniel
[root@dhcp-66-70-85 ~]# virsh freecell 0: 392944 kB [root@dhcp-66-70-85 ~]# free total used free shared buffers cached Mem: 3627008 719396 2907612 0 24052 348556 -/+ buffers/cache: 346788 3280220 Swap: 0 0 0 This bug has been verified with libvirt 0.6.3-3 on RHEL-5.4. Already fixed.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1269.html