• jim warner's avatar
    top: show fewer decimal places for memory (by default) · fe6e03d8
    jim warner authored
    After much reflection I've come to the conclusion that
    displaying 3 decimal places (usually) when memory data
    had been scaled is no longer optimal with today's ever
    increasing amounts. And given that not all task memory
    fields are the same widths, inconsistencies can easily
    arise as illustrated and discussed in the issue below.
    
    Instead of unilaterally reducing the number of decimal
    places, this commit will sneak in such a change via an
    existing configure option that was very likely unused.
    
    The former 'disable-wide-memory' option has now become
    'enable-wide-memory', which can be used if the current
    behavior (3 decimal places) is preferred. Without that
    option, whenever memory is scaled beyond KiB, just one
    decimal place will be shown in Summary and Task areas.
    
    And Task area field width will no longer be changed by
    this revised configure option. Instead, all such field
    widths will now be fixed at the former maximum values.
    
    Reference(s):
    procps-ng/procps#50Signed-off-by: jim warner's avatarJim Warner <james.warner@comcast.net>
    fe6e03d8
Name
Last commit
Last update
Documentation Loading commit data...
contrib Loading commit data...
include Loading commit data...
lib Loading commit data...
man-po Loading commit data...
misc Loading commit data...
po Loading commit data...
proc Loading commit data...
ps Loading commit data...
testsuite Loading commit data...
top Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
INSTALL.md Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
create-man-pot.sh Loading commit data...
free.1 Loading commit data...
free.c Loading commit data...
kill.1 Loading commit data...
pgrep.1 Loading commit data...
pgrep.c Loading commit data...
pidof.1 Loading commit data...
pidof.c Loading commit data...
pkill.1 Loading commit data...
pmap.1 Loading commit data...
pmap.c Loading commit data...
pwdx.1 Loading commit data...
pwdx.c Loading commit data...
skill.1 Loading commit data...
skill.c Loading commit data...
slabtop.1 Loading commit data...
slabtop.c Loading commit data...
snice.1 Loading commit data...
sysctl.8 Loading commit data...
sysctl.c Loading commit data...
sysctl.conf Loading commit data...
sysctl.conf.5 Loading commit data...
tload.1 Loading commit data...
tload.c Loading commit data...
translate-man.sh Loading commit data...
uptime.1 Loading commit data...
uptime.c Loading commit data...
vmstat.8 Loading commit data...
vmstat.c Loading commit data...
w.1 Loading commit data...
w.c Loading commit data...
watch.1 Loading commit data...
watch.c Loading commit data...