blob: 0501daf8fd2de1d90a6bd5ccd7afe9e6eadb0626 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001# DO NOT EDIT. This file is generated from Config.src
2#
3# For a description of the syntax of this configuration file,
4# see docs/Kconfig-language.txt.
5#
6
7menu "Process Utilities"
8
9config BUSYBOX_CONFIG_FEATURE_FAST_TOP
10 bool "Faster /proc scanning code (+100 bytes)"
11 default BUSYBOX_DEFAULT_FEATURE_FAST_TOP # all "fast or small" options default to small
12 help
13 This option makes top and ps ~20% faster (or 20% less CPU hungry),
14 but code size is slightly bigger.
15
16config BUSYBOX_CONFIG_FEATURE_SHOW_THREADS
17 bool "Support thread display in ps/pstree/top"
18 default BUSYBOX_DEFAULT_FEATURE_SHOW_THREADS
19 depends on BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_TOP || BUSYBOX_CONFIG_PSTREE
20 help
21 Enables the ps -T option, showing of threads in pstree,
22 and 'h' command in top.
23
24config BUSYBOX_CONFIG_FREE
25 bool "free (3.1 kb)"
26 default BUSYBOX_DEFAULT_FREE
27 help
28 free displays the total amount of free and used physical and swap
29 memory in the system, as well as the buffers used by the kernel.
30 The shared memory column should be ignored; it is obsolete.
31config BUSYBOX_CONFIG_FUSER
32 bool "fuser (7 kb)"
33 default BUSYBOX_DEFAULT_FUSER
34 help
35 fuser lists all PIDs (Process IDs) that currently have a given
36 file open. fuser can also list all PIDs that have a given network
37 (TCP or UDP) port open.
38config BUSYBOX_CONFIG_IOSTAT
39 bool "iostat (7.6 kb)"
40 default BUSYBOX_DEFAULT_IOSTAT
41 help
42 Report CPU and I/O statistics
43config BUSYBOX_CONFIG_KILL
44 bool "kill (3.1 kb)"
45 default BUSYBOX_DEFAULT_KILL
46 help
47 The command kill sends the specified signal to the specified
48 process or process group. If no signal is specified, the TERM
49 signal is sent.
50
51config BUSYBOX_CONFIG_KILLALL
52 bool "killall (5.6 kb)"
53 default BUSYBOX_DEFAULT_KILLALL
54 help
55 killall sends a signal to all processes running any of the
56 specified commands. If no signal name is specified, SIGTERM is
57 sent.
58
59config BUSYBOX_CONFIG_KILLALL5
60 bool "killall5 (5.3 kb)"
61 default BUSYBOX_DEFAULT_KILLALL5
62 help
63 The SystemV killall command. killall5 sends a signal
64 to all processes except kernel threads and the processes
65 in its own session, so it won't kill the shell that is running
66 the script it was called from.
67config BUSYBOX_CONFIG_LSOF
68 bool "lsof (3.4 kb)"
69 default BUSYBOX_DEFAULT_LSOF
70 help
71 Show open files in the format of:
72 PID <TAB> /path/to/executable <TAB> /path/to/opened/file
73config BUSYBOX_CONFIG_MPSTAT
74 bool "mpstat (9.8 kb)"
75 default BUSYBOX_DEFAULT_MPSTAT
76 help
77 Per-processor statistics
78config BUSYBOX_CONFIG_NMETER
79 bool "nmeter (11 kb)"
80 default BUSYBOX_DEFAULT_NMETER
81 help
82 Prints selected system stats continuously, one line per update.
83config BUSYBOX_CONFIG_PGREP
84 bool "pgrep (6.5 kb)"
85 default BUSYBOX_DEFAULT_PGREP
86 help
87 Look for processes by name.
88
89config BUSYBOX_CONFIG_PKILL
90 bool "pkill (7.5 kb)"
91 default BUSYBOX_DEFAULT_PKILL
92 help
93 Send signals to processes by name.
94config BUSYBOX_CONFIG_PIDOF
95 bool "pidof (6.3 kb)"
96 default BUSYBOX_DEFAULT_PIDOF
97 help
98 Pidof finds the process id's (pids) of the named programs. It prints
99 those id's on the standard output.
100
101config BUSYBOX_CONFIG_FEATURE_PIDOF_SINGLE
102 bool "Enable single shot (-s)"
103 default BUSYBOX_DEFAULT_FEATURE_PIDOF_SINGLE
104 depends on BUSYBOX_CONFIG_PIDOF
105 help
106 Support '-s' for returning only the first pid found.
107
108config BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT
109 bool "Enable omitting pids (-o PID)"
110 default BUSYBOX_DEFAULT_FEATURE_PIDOF_OMIT
111 depends on BUSYBOX_CONFIG_PIDOF
112 help
113 Support '-o PID' for omitting the given pid(s) in output.
114 The special pid %PPID can be used to name the parent process
115 of the pidof, in other words the calling shell or shell script.
116config BUSYBOX_CONFIG_PMAP
117 bool "pmap (6 kb)"
118 default BUSYBOX_DEFAULT_PMAP
119 help
120 Display processes' memory mappings.
121config BUSYBOX_CONFIG_POWERTOP
122 bool "powertop (9.6 kb)"
123 default BUSYBOX_DEFAULT_POWERTOP
124 help
125 Analyze power consumption on Intel-based laptops
126
127config BUSYBOX_CONFIG_FEATURE_POWERTOP_INTERACTIVE
128 bool "Accept keyboard commands"
129 default BUSYBOX_DEFAULT_FEATURE_POWERTOP_INTERACTIVE
130 depends on BUSYBOX_CONFIG_POWERTOP
131 help
132 Without this, powertop will only refresh display every 10 seconds.
133 No keyboard commands will work, only ^C to terminate.
134config BUSYBOX_CONFIG_PS
135 bool "ps (11 kb)"
136 default BUSYBOX_DEFAULT_PS
137 help
138 ps gives a snapshot of the current processes.
139
140config BUSYBOX_CONFIG_FEATURE_PS_WIDE
141 bool "Enable wide output (-w)"
142 default BUSYBOX_DEFAULT_FEATURE_PS_WIDE
143 depends on (BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_MINIPS) && !BUSYBOX_CONFIG_DESKTOP
144 help
145 Support argument 'w' for wide output.
146 If given once, 132 chars are printed, and if given more
147 than once, the length is unlimited.
148
149config BUSYBOX_CONFIG_FEATURE_PS_LONG
150 bool "Enable long output (-l)"
151 default BUSYBOX_DEFAULT_FEATURE_PS_LONG
152 depends on (BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_MINIPS) && !BUSYBOX_CONFIG_DESKTOP
153 help
154 Support argument 'l' for long output.
155 Adds fields PPID, RSS, START, TIME & TTY
156
157config BUSYBOX_CONFIG_FEATURE_PS_TIME
158 bool "Enable -o time and -o etime specifiers"
159 default BUSYBOX_DEFAULT_FEATURE_PS_TIME
160 depends on (BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_MINIPS) && BUSYBOX_CONFIG_DESKTOP
161
162config BUSYBOX_CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS
163 bool "Support Linux prior to 2.4.0 and non-ELF systems"
164 default BUSYBOX_DEFAULT_FEATURE_PS_UNUSUAL_SYSTEMS
165 depends on BUSYBOX_CONFIG_FEATURE_PS_TIME
166 help
167 Include support for measuring HZ on old kernels and non-ELF systems
168 (if you are on Linux 2.4.0+ and use ELF, you don't need this)
169
170config BUSYBOX_CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS
171 bool "Enable -o rgroup, -o ruser, -o nice specifiers"
172 default BUSYBOX_DEFAULT_FEATURE_PS_ADDITIONAL_COLUMNS
173 depends on (BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_MINIPS) && BUSYBOX_CONFIG_DESKTOP
174config BUSYBOX_CONFIG_PSTREE
175 bool "pstree (9.3 kb)"
176 default BUSYBOX_DEFAULT_PSTREE
177 help
178 Display a tree of processes.
179config BUSYBOX_CONFIG_PWDX
180 bool "pwdx (3.7 kb)"
181 default BUSYBOX_DEFAULT_PWDX
182 help
183 Report current working directory of a process
184config BUSYBOX_CONFIG_SMEMCAP
185 bool "smemcap (2.5 kb)"
186 default BUSYBOX_DEFAULT_SMEMCAP
187 help
188 smemcap is a tool for capturing process data for smem,
189 a memory usage statistic tool.
190config BUSYBOX_CONFIG_BB_SYSCTL
191 bool "sysctl (7.4 kb)"
192 default BUSYBOX_DEFAULT_BB_SYSCTL
193 help
194 Configure kernel parameters at runtime.
195config BUSYBOX_CONFIG_TOP
196 bool "top (18 kb)"
197 default BUSYBOX_DEFAULT_TOP
198 help
199 The top program provides a dynamic real-time view of a running
200 system.
201
202config BUSYBOX_CONFIG_FEATURE_TOP_INTERACTIVE
203 bool "Accept keyboard commands"
204 default BUSYBOX_DEFAULT_FEATURE_TOP_INTERACTIVE
205 depends on BUSYBOX_CONFIG_TOP
206 help
207 Without this, top will only refresh display every 5 seconds.
208 No keyboard commands will work, only ^C to terminate.
209
210config BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
211 bool "Show CPU per-process usage percentage"
212 default BUSYBOX_DEFAULT_FEATURE_TOP_CPU_USAGE_PERCENTAGE
213 depends on BUSYBOX_CONFIG_TOP
214 help
215 Make top display CPU usage for each process.
216 This adds about 2k.
217
218config BUSYBOX_CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS
219 bool "Show CPU global usage percentage"
220 default BUSYBOX_DEFAULT_FEATURE_TOP_CPU_GLOBAL_PERCENTS
221 depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
222 help
223 Makes top display "CPU: NN% usr NN% sys..." line.
224 This adds about 0.5k.
225
226config BUSYBOX_CONFIG_FEATURE_TOP_SMP_CPU
227 bool "SMP CPU usage display ('c' key)"
228 default BUSYBOX_DEFAULT_FEATURE_TOP_SMP_CPU
229 depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS
230 help
231 Allow 'c' key to switch between individual/cumulative CPU stats
232 This adds about 0.5k.
233
234config BUSYBOX_CONFIG_FEATURE_TOP_DECIMALS
235 bool "Show 1/10th of a percent in CPU/mem statistics"
236 default BUSYBOX_DEFAULT_FEATURE_TOP_DECIMALS
237 depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE
238 help
239 Show 1/10th of a percent in CPU/mem statistics.
240 This adds about 0.3k.
241
242config BUSYBOX_CONFIG_FEATURE_TOP_SMP_PROCESS
243 bool "Show CPU process runs on ('j' field)"
244 default BUSYBOX_DEFAULT_FEATURE_TOP_SMP_PROCESS
245 depends on BUSYBOX_CONFIG_TOP
246 help
247 Show CPU where process was last found running on.
248 This is the 'j' field.
249
250config BUSYBOX_CONFIG_FEATURE_TOPMEM
251 bool "Topmem command ('s' key)"
252 default BUSYBOX_DEFAULT_FEATURE_TOPMEM
253 depends on BUSYBOX_CONFIG_TOP
254 help
255 Enable 's' in top (gives lots of memory info).
256config BUSYBOX_CONFIG_UPTIME
257 bool "uptime (3.7 kb)"
258 default BUSYBOX_DEFAULT_UPTIME
259 help
260 uptime gives a one line display of the current time, how long
261 the system has been running, how many users are currently logged
262 on, and the system load averages for the past 1, 5, and 15 minutes.
263
264config BUSYBOX_CONFIG_FEATURE_UPTIME_UTMP_SUPPORT
265 bool "Show the number of users"
266 default BUSYBOX_DEFAULT_FEATURE_UPTIME_UTMP_SUPPORT
267 depends on BUSYBOX_CONFIG_UPTIME && BUSYBOX_CONFIG_FEATURE_UTMP
268 help
269 Display the number of users currently logged on.
270config BUSYBOX_CONFIG_WATCH
271 bool "watch (4.4 kb)"
272 default BUSYBOX_DEFAULT_WATCH
273 help
274 watch is used to execute a program periodically, showing
275 output to the screen.
276
277endmenu