]> granicus.if.org Git - procps-ng/commit
top: extend 'zero suppression' scope to several fields
authorJim Warner <james.warner@comcast.net>
Fri, 15 Apr 2016 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Tue, 7 Jun 2016 10:49:30 +0000 (20:49 +1000)
commit5e265129803c1bcd97b6e2585e38e6249301ceaf
tree4b497aeecd590971e790f2125906ccced83e4bf8
parent5892540819df0de3bbc0152271a20efec298d4e2
top: extend 'zero suppression' scope to several fields

This commit just tries to parallel the implementations
in the newlib branch. The config file Rc.zero_suppress
will be extended to include both out-of-memory fields.

And while we're at it, we'll also extend zero suppress
to that NI (nice value) field, which already should've
had it. Plus we trade those namespaces custom suppress
logic for our now slightly enhanced make_num function.

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