]> granicus.if.org Git - procps-ng/commit
top: increase the maximum number of displayable fields
authorJim Warner <james.warner@comcast.net>
Wed, 13 Nov 2013 06:00:00 +0000 (00:00 -0600)
committerCraig Small <csmall@enc.com.au>
Mon, 25 Nov 2013 09:57:32 +0000 (20:57 +1100)
commitaf4e6533ba5ee04f414bc8774df31ddef38e8880
tree87069349145e774b8628fcac4da0074df5f5cdd6
parent675200b20b7e05d18dc2ddd03c4f0952a15480a9
top: increase the maximum number of displayable fields

The recent addition of namespaces, combined with those
potential suse out-of-memory fields, means that we are
close to the maximum number of fields poor ol' top can
display. Imagine, the really old top was limited to 26
fields (28 with the suse hack) and this top had neared
the version 'g' rcfile limits which were a healthy 55.

This patch adds another 15 fields to the maximum while
making it even easier to increase in the future. Also,
top still silently accommodates older config files all
the way back to the original pre-ng version top-3.2.8!

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