]> granicus.if.org Git - procps-ng/commit
top: postpone the switch from Kb to Mb in summary display
authorJames Cloos <cloos@jhcloos.com>
Mon, 6 Feb 2012 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@enc.com.au>
Sun, 12 Feb 2012 10:52:23 +0000 (21:52 +1100)
commit95f22017309f0025c724258335cf586b1d939e68
tree663890e904390238749f9b0c2b12edd64dff1806
parentce1410a51a624a91816fcc8c232c8a4d60b09638
top: postpone the switch from Kb to Mb in summary display

The mem and swap lines have enough room to show eight significant
digits, so switch to showing MB when >=100MB, not >=10MB.

The extra detail is valuable; it should not be elided.

Signed-off-by: James Cloos <cloos@jhcloos.com>
Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c