Updates:
Status: Fixed
Owner: [email protected]
Labels: Milestone-Release2.5 Component-htools
Comment #1 on issue 162 by [email protected]: Improve hspace output
http://code.google.com/p/ganeti/issues/detail?id=162
This has been committed and will be in 2.5:
commit 375969e
Author: Iustin Pop <[email protected]>
Date: Fri Jul 8 13:53:14 2011 +0200
htools: add human-readable output to hspace
Currently, hspace can only output a machine-readable format that
(while detailed) is hard to parse quickly by people. This patch adds
(and enables by default) a human-readable output that shows the most
important metrics in a simple format.
Most of the work of the patch is in moving the display of various
metrics from the 'main' function to separate functions, each of which
can output either a machine or human intended format.
The patch also corrects a bug in the CPU efficiency display: before,
the efficiency was computed as instance virtual CPUs divided by total
physical CPUs, which is almost always supra-unitary. More correct is
to divide by the total virtual CPUs, which shows a more meaningful
number (when the p-to-v CPU ratio has been defined correctly).
Signed-off-by: Iustin Pop <[email protected]>
Reviewed-by: Michael Hanselmann <[email protected]>