top: on user suggestion make percentile calculations configurable. -56 bytes when off. +600 bytes when on

top: reorder columns, so that [P]PIDs are together and VSZ/%MEM are together. Makes more sense
This commit is contained in:
Denis Vlasenko
2007-06-11 16:31:55 +00:00
parent d71e45856e
commit 745119605e
2 changed files with 71 additions and 38 deletions

View File

@@ -109,12 +109,19 @@ config FEATURE_TOP_CPU_USAGE_PERCENTAGE
Make top display CPU usage for each process.
config FEATURE_TOP_CPU_GLOBAL_PERCENTS
bool "Show CPU global usage percentage (adds 0.5k byte)"
bool "Show CPU global usage percentage (adds 0.5k bytes)"
default y
depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
help
Makes top display "CPU: NN% usr NN% sys..." line.
config FEATURE_TOP_DECIMALS
bool "Show 1/10th of a percent in CPU/mem statistics (adds 0.5k bytes)"
default n
depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
help
Show 1/10th of a percent in CPU/mem statistics.
config UPTIME
bool "uptime"
default n