diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2012-09-21 13:04:37 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-09-21 13:04:37 +0200 |
| commit | 2fb8d0dee974622c52e446a02d066cccc4768bbf (patch) | |
| tree | 1158413d0b22e62a8ffb8bfc5a85df568af82a00 /procps/Config.src | |
| parent | 3c62bbae94642e6d05bc9f900bbdb5173d26cc51 (diff) | |
| download | busybox-w32-2fb8d0dee974622c52e446a02d066cccc4768bbf.tar.gz busybox-w32-2fb8d0dee974622c52e446a02d066cccc4768bbf.tar.bz2 busybox-w32-2fb8d0dee974622c52e446a02d066cccc4768bbf.zip | |
top: implement scrolling up/down (_very_ useful)
function old new delta
handle_input 494 564 +70
top_main 928 947 +19
display_topmem_process_list 363 381 +18
display_process_list 1442 1453 +11
clearmems 38 28 -10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/1 up/down: 118/-10) Total: 108 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/Config.src')
| -rw-r--r-- | procps/Config.src | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/procps/Config.src b/procps/Config.src index 5cd47c84f..527d9ee0c 100644 --- a/procps/Config.src +++ b/procps/Config.src | |||
| @@ -140,60 +140,6 @@ config BB_SYSCTL | |||
| 140 | help | 140 | help |
| 141 | Configure kernel parameters at runtime. | 141 | Configure kernel parameters at runtime. |
| 142 | 142 | ||
| 143 | config TOP | ||
| 144 | bool "top" | ||
| 145 | default y | ||
| 146 | help | ||
| 147 | The top program provides a dynamic real-time view of a running | ||
| 148 | system. | ||
| 149 | |||
| 150 | config FEATURE_TOP_CPU_USAGE_PERCENTAGE | ||
| 151 | bool "Show CPU per-process usage percentage" | ||
| 152 | default y | ||
| 153 | depends on TOP | ||
| 154 | help | ||
| 155 | Make top display CPU usage for each process. | ||
| 156 | This adds about 2k. | ||
| 157 | |||
| 158 | config FEATURE_TOP_CPU_GLOBAL_PERCENTS | ||
| 159 | bool "Show CPU global usage percentage" | ||
| 160 | default y | ||
| 161 | depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE | ||
| 162 | help | ||
| 163 | Makes top display "CPU: NN% usr NN% sys..." line. | ||
| 164 | This adds about 0.5k. | ||
| 165 | |||
| 166 | config FEATURE_TOP_SMP_CPU | ||
| 167 | bool "SMP CPU usage display ('c' key)" | ||
| 168 | default y | ||
| 169 | depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS | ||
| 170 | help | ||
| 171 | Allow 'c' key to switch between individual/cumulative CPU stats | ||
| 172 | This adds about 0.5k. | ||
| 173 | |||
| 174 | config FEATURE_TOP_DECIMALS | ||
| 175 | bool "Show 1/10th of a percent in CPU/mem statistics" | ||
| 176 | default y | ||
| 177 | depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE | ||
| 178 | help | ||
| 179 | Show 1/10th of a percent in CPU/mem statistics. | ||
| 180 | This adds about 0.3k. | ||
| 181 | |||
| 182 | config FEATURE_TOP_SMP_PROCESS | ||
| 183 | bool "Show CPU process runs on ('j' field)" | ||
| 184 | default y | ||
| 185 | depends on TOP | ||
| 186 | help | ||
| 187 | Show CPU where process was last found running on. | ||
| 188 | This is the 'j' field. | ||
| 189 | |||
| 190 | config FEATURE_TOPMEM | ||
| 191 | bool "Topmem command ('s' key)" | ||
| 192 | default y | ||
| 193 | depends on TOP | ||
| 194 | help | ||
| 195 | Enable 's' in top (gives lots of memory info). | ||
| 196 | |||
| 197 | config FEATURE_SHOW_THREADS | 143 | config FEATURE_SHOW_THREADS |
| 198 | bool "Support for showing threads in ps/pstree/top" | 144 | bool "Support for showing threads in ps/pstree/top" |
| 199 | default y | 145 | default y |
