On a Friday in 2026, Peter Krempa via Devel wrote:
From: Peter Krempa <[email protected]>

After recent addition of 'available' field the hardcoded alignments no
longer match:

 $ virsh nodememstats
 total  :             63393452 KiB
 free   :              4046756 KiB
 available:             35747628 KiB
 buffers:              2291748 KiB
 cached :             24086464 KiB

To address the issue switch to use dynamicaly aligned columns via

dynamically

vshTable infrastructure:

 $ virsh nodememstats
 total    :   63393452 KiB
 free     :    3888776 KiB
 available:   35640268 KiB
 buffers  :    2291768 KiB
 cached   :   24089916 KiB

Signed-off-by: Peter Krempa <[email protected]>
---
tools/virsh-host.c | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)


Reviewed-by: Ján Tomko <[email protected]>

Jano

Attachment: signature.asc
Description: PGP signature

Reply via email to