[Toybox] [PATCH] top: don't report GiB sizes in KiB.

Rob Landley rob at landley.net
Thu Sep 3 01:14:32 PDT 2020


On 9/2/20 12:01 PM, enh via Toybox wrote:
> 6 digits seems like a reasonable compromise for readability? That will
> still give KiB on tiny systems, but MiB on reasonable systems. The
> existing 8 digits gives numbers far too large to grok.
> 
> This also matches procps top on my machine, though maybe that's hard-coded
> to always use MiB?

Do you want that fix, or this fix?

Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blah.patch
Type: text/x-patch
Size: 2640 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200903/8ad2f06e/attachment-0003.bin>


More information about the Toybox mailing list