aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-02-13 15:10:29 -0800
committerRob Landley <rob@landley.net>2019-02-13 20:58:05 -0600
commit706628b94e65cfa9e583d7a54d7cdd8de9f70c63 (patch)
tree151a04223e9280063778b13da432582894059224 /tests
parent8e7b298b17e53ac0f35f5e425f72836f729a10d6 (diff)
downloadtoybox-706628b94e65cfa9e583d7a54d7cdd8de9f70c63.tar.gz
top: use human_readable for the header lines too.
Even phones have enough RAM these days that KiB is not a reasonable unit. Traditional top always uses MiB instead of always using KiB, but we may as well just let human_readable pick a unit (that way if KiB is reasonable on your box, that's what you'll get). Before: Tasks: 967 total, 1 running, 581 sleeping, 0 stopped, 0 zombie Mem: 196734820k total,183891564k used, 12843256k free, 5805008k buffers Swap:199888892k total, 719104k used,199169788k free,130367280k cached After: Tasks: 965 total, 2 running, 577 sleeping, 0 stopped, 0 zombie Mem: 188G total, 175G used, 13G free, 5.5G buffers Swap: 191G total, 702M used, 190G free, 124G cached
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions