The documentation mistakenly states that the unit for returned values is kB (multiple of 1000), while in fact we are returning KiB (multiple of 1024). Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> --- Oops, I forgot to send this one, tools/virsh.pod | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index 01453be60..4331c76fc 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -810,16 +810,16 @@ missing from the output. Other fields may appear if communicating with a newer version of libvirtd. B<Explanation of fields>: - swap_in - The amount of data read from swap space (in kB) - swap_out - The amount of memory written out to swap space (in kB) + swap_in - The amount of data read from swap space (in KiB) + swap_out - The amount of memory written out to swap space (in KiB) major_fault - The number of page faults where disk IO was required minor_fault - The number of other page faults - unused - The amount of memory left unused by the system (in kB) - available - The amount of usable memory as seen by the domain (in kB) - actual - Current balloon value (in KB) - rss - Resident Set Size of the running domain's process (in kB) + unused - The amount of memory left unused by the system (in KiB) + available - The amount of usable memory as seen by the domain (in KiB) + actual - Current balloon value (in KiB) + rss - Resident Set Size of the running domain's process (in KiB) usable - The amount of memory which can be reclaimed by balloon -without causing host swapping (in KB) +without causing host swapping (in KiB) last-update - Timestamp of the last update of statistics (in seconds) For QEMU/KVM with a memory balloon, setting the optional I<--period> to a @@ -906,22 +906,22 @@ I<--cpu-total> returns: I<--balloon> returns: - "balloon.current" - the memory in kiB currently used - "balloon.maximum" - the maximum memory in kiB allowed - "balloon.swap_in" - the amount of data read from swap space (in kB) + "balloon.current" - the memory in KiB currently used + "balloon.maximum" - the maximum memory in KiB allowed + "balloon.swap_in" - the amount of data read from swap space (in KiB) "balloon.swap_out" - the amount of memory written out to swap - space (in kB) + space (in KiB) "balloon.major_fault" - the number of page faults then disk IO was required "balloon.minor_fault" - the number of other page faults "balloon.unused" - the amount of memory left unused by the - system (in kB) + system (in KiB) "balloon.available" - the amount of usable memory as seen by - the domain (in kB) + the domain (in KiB) "balloon.rss" - Resident Set Size of running domain's process - (in kB) + (in KiB) "balloon.usable" - the amount of memory which can be reclaimed by - balloon without causing host swapping (in KB) + balloon without causing host swapping (in KiB) "balloon.last-update" - timestamp of the last update of statistics (in seconds) -- 2.13.5 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list