[Toybox] [PATCH] top: don't report GiB sizes in KiB.
enh
enh at google.com
Thu Sep 3 07:56:05 PDT 2020
I think hard-coded MiB would be fine for me right now, but -- re-reading
the full discussion from last time rather than relying on my memory -- it
seems like your main complaint the first time I tried to fix this was that
you didn't like the possibility of not using the same unit for every value.
So hard-coding MiB might be better in that it would be more likely to stick
rather than getting reverted.
Want me to send that patch?
On Thu, Sep 3, 2020, 01:05 Rob Landley <rob at landley.net> wrote:
> 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
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20200903/6d92c64c/attachment-0001.htm>
More information about the Toybox
mailing list