[Toybox] human_readable top header.

Rob Landley rob at landley.net
Tue May 21 13:20:03 PDT 2019


On 5/21/19 8:21 AM, makepost at firemail.cc wrote:
> 
>> whereas toybox is now back to unreasonably small units on the same laptop:
>>
>>  Mem: 16364136K total, 12297484K used,  4066652K free,  1187844K buffers
>> Swap: 33300476K total,   498780K used, 32801696K free,  3706260K cached
> 
> Can commas between thousands fit in the line while keeping the K? Like in Total Commander. Alternatively, fraction M with one point and no lost precision. Kilobytes are a point of interest when you're optimizing something on a system with few free left, regardless of the total amount.
> 

I could add commas to human_readable(), sure. When it's not hardwired to a max 3
digits precision that makes sense.

Rob



More information about the Toybox mailing list