]> granicus.if.org Git - procps-ng/commit
top: provide the means to adjust scaled summary memory
authorJim Warner <james.warner@comcast.net>
Fri, 14 Dec 2012 06:00:00 +0000 (00:00 -0600)
committerCraig Small <csmall@enc.com.au>
Sat, 22 Dec 2012 06:07:40 +0000 (17:07 +1100)
commitbc46f67f9a63c9f43c9a697b3bfa85abf721c5da
treed5771d47b1539002678dfe3e413a650a90d04552
parent407d1fc8f2b8e38197a3fe42ba7a644a83416d78
top: provide the means to adjust scaled summary memory

Earlier this year, the switch from KiB to Mib as shown
in top's summary area was postponed to those occasions
when KiB exceeded 8 digits. In hindsight that may have
moved top in the wrong direction, given the difficulty
of digesting such large numbers of digits at a glance.

This commit adds a new 'E' interactive command used to
cycle the displayed memory amounts ranging from KiB to
TiB. Thus, users can choose the radix they wish shown.

p.s. and it will be rcfile preserved for any restarts!

(now that we know a '.' + 2 spaces is squeezed to one)
(everything's perfectly justified, but it's just luck)

Reference(s):
http://www.freelists.org/post/procps/top-regression-reports

commit 95f22017309f0025c724258335cf586b1d939e68
Author: James Cloos <cloos@jhcloos.com>
Date:   Mon Feb 6 00:00:00 2012 -0500

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.1
top/top.c
top/top.h
top/top_nls.c
top/top_nls.h