summaryrefslogtreecommitdiff
path: root/package/busybox/config/procps/Config.in
blob: 0c1733b9f9a36bcaf9a61bbe92a240e4bc6eff63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
# DO NOT EDIT. This file is generated from Config.src
#
# For a description of the syntax of this configuration file,
# see docs/Kconfig-language.txt.
#

menu "Process Utilities"

config BUSYBOX_FEATURE_FAST_TOP
	bool "Faster /proc scanning code (+100 bytes)"
	default n  # all "fast or small" options default to small
	help
	This option makes top and ps ~20% faster (or 20% less CPU hungry),
	but code size is slightly bigger.

config BUSYBOX_FEATURE_SHOW_THREADS
	bool "Support thread display in ps/pstree/top"
	default y
	depends on BUSYBOX_PS || BUSYBOX_TOP || BUSYBOX_PSTREE
	help
	Enables the ps -T option, showing of threads in pstree,
	and 'h' command in top.

config BUSYBOX_FREE
	bool "free (3.1 kb)"
	default y
	help
	free displays the total amount of free and used physical and swap
	memory in the system, as well as the buffers used by the kernel.
	The shared memory column should be ignored; it is obsolete.
config BUSYBOX_FUSER
	bool "fuser (7 kb)"
	default y
	help
	fuser lists all PIDs (Process IDs) that currently have a given
	file open. fuser can also list all PIDs that have a given network
	(TCP or UDP) port open.
config BUSYBOX_IOSTAT
	bool "iostat (7.6 kb)"
	default y
	help
	Report CPU and I/O statistics
config BUSYBOX_KILL
	bool "kill (3.1 kb)"
	default y
	help
	The command kill sends the specified signal to the specified
	process or process group. If no signal is specified, the TERM
	signal is sent.

config BUSYBOX_KILLALL
	bool "killall (5.6 kb)"
	default y
	help
	killall sends a signal to all processes running any of the
	specified commands. If no signal name is specified, SIGTERM is
	sent.

config BUSYBOX_KILLALL5
	bool "killall5 (5.3 kb)"
	default y
	help
	The SystemV killall command. killall5 sends a signal
	to all processes except kernel threads and the processes
	in its own session, so it won't kill the shell that is running
	the script it was called from.
config BUSYBOX_LSOF
	bool "lsof (3.4 kb)"
	default y
	help
	Show open files in the format of:
	PID <TAB> /path/to/executable <TAB> /path/to/opened/file
config BUSYBOX_MPSTAT
	bool "mpstat (9.8 kb)"
	default y
	help
	Per-processor statistics
config BUSYBOX_NMETER
	bool "nmeter (11 kb)"
	default y
	help
	Prints selected system stats continuously, one line per update.
config BUSYBOX_PGREP
	bool "pgrep (6.5 kb)"
	default y
	help
	Look for processes by name.

config BUSYBOX_PKILL
	bool "pkill (7.5 kb)"
	default y
	help
	Send signals to processes by name.
config BUSYBOX_PIDOF
	bool "pidof (6.3 kb)"
	default y
	help
	Pidof finds the process id's (pids) of the named programs. It prints
	those id's on the standard output.

config BUSYBOX_FEATURE_PIDOF_SINGLE
	bool "Enable single shot (-s)"
	default y
	depends on BUSYBOX_PIDOF
	help
	Support '-s' for returning only the first pid found.

config BUSYBOX_FEATURE_PIDOF_OMIT
	bool "Enable omitting pids (-o PID)"
	default y
	depends on BUSYBOX_PIDOF
	help
	Support '-o PID' for omitting the given pid(s) in output.
	The special pid %PPID can be used to name the parent process
	of the pidof, in other words the calling shell or shell script.
config BUSYBOX_PMAP
	bool "pmap (6 kb)"
	default y
	help
	Display processes' memory mappings.
config BUSYBOX_POWERTOP
	bool "powertop (9.6 kb)"
	default y
	help
	Analyze power consumption on Intel-based laptops

config BUSYBOX_FEATURE_POWERTOP_INTERACTIVE
	bool "Accept keyboard commands"
	default y
	depends on BUSYBOX_POWERTOP
	help
	Without this, powertop will only refresh display every 10 seconds.
	No keyboard commands will work, only ^C to terminate.
config BUSYBOX_PS
	bool "ps (11 kb)"
	default y
	help
	ps gives a snapshot of the current processes.

config BUSYBOX_FEATURE_PS_WIDE
	bool "Enable wide output (-w)"
	default y
	depends on (BUSYBOX_PS || BUSYBOX_MINIPS) && !BUSYBOX_DESKTOP
	help
	Support argument 'w' for wide output.
	If given once, 132 chars are printed, and if given more
	than once, the length is unlimited.

config BUSYBOX_FEATURE_PS_LONG
	bool "Enable long output (-l)"
	default y
	depends on (BUSYBOX_PS || BUSYBOX_MINIPS) && !BUSYBOX_DESKTOP
	help
	Support argument 'l' for long output.
	Adds fields PPID, RSS, START, TIME & TTY

config BUSYBOX_FEATURE_PS_TIME
	bool "Enable -o time and -o etime specifiers"
	default y
	depends on (BUSYBOX_PS || BUSYBOX_MINIPS) && BUSYBOX_DESKTOP

config BUSYBOX_FEATURE_PS_UNUSUAL_SYSTEMS
	bool "Support Linux prior to 2.4.0 and non-ELF systems"
	default n
	depends on BUSYBOX_FEATURE_PS_TIME
	help
	Include support for measuring HZ on old kernels and non-ELF systems
	(if you are on Linux 2.4.0+ and use ELF, you don't need this)

config BUSYBOX_FEATURE_PS_ADDITIONAL_COLUMNS
	bool "Enable -o rgroup, -o ruser, -o nice specifiers"
	default y
	depends on (BUSYBOX_PS || BUSYBOX_MINIPS) && BUSYBOX_DESKTOP
config BUSYBOX_PSTREE
	bool "pstree (9.3 kb)"
	default y
	help
	Display a tree of processes.
config BUSYBOX_PWDX
	bool "pwdx (3.7 kb)"
	default y
	help
	Report current working directory of a process
config BUSYBOX_SMEMCAP
	bool "smemcap (2.5 kb)"
	default y
	help
	smemcap is a tool for capturing process data for smem,
	a memory usage statistic tool.
config BUSYBOX_BB_SYSCTL
	bool "sysctl (7.4 kb)"
	default y
	help
	Configure kernel parameters at runtime.
config BUSYBOX_TOP
	bool "top (18 kb)"
	default y
	help
	The top program provides a dynamic real-time view of a running
	system.

config BUSYBOX_FEATURE_TOP_INTERACTIVE
	bool "Accept keyboard commands"
	default y
	depends on BUSYBOX_TOP
	help
	Without this, top will only refresh display every 5 seconds.
	No keyboard commands will work, only ^C to terminate.

config BUSYBOX_FEATURE_TOP_CPU_USAGE_PERCENTAGE
	bool "Show CPU per-process usage percentage"
	default y
	depends on BUSYBOX_TOP
	help
	Make top display CPU usage for each process.
	This adds about 2k.

config BUSYBOX_FEATURE_TOP_CPU_GLOBAL_PERCENTS
	bool "Show CPU global usage percentage"
	default y
	depends on BUSYBOX_FEATURE_TOP_CPU_USAGE_PERCENTAGE
	help
	Makes top display "CPU: NN% usr NN% sys..." line.
	This adds about 0.5k.

config BUSYBOX_FEATURE_TOP_SMP_CPU
	bool "SMP CPU usage display ('c' key)"
	default y
	depends on BUSYBOX_FEATURE_TOP_CPU_GLOBAL_PERCENTS
	help
	Allow 'c' key to switch between individual/cumulative CPU stats
	This adds about 0.5k.

config BUSYBOX_FEATURE_TOP_DECIMALS
	bool "Show 1/10th of a percent in CPU/mem statistics"
	default y
	depends on BUSYBOX_FEATURE_TOP_CPU_USAGE_PERCENTAGE
	help
	Show 1/10th of a percent in CPU/mem statistics.
	This adds about 0.3k.

config BUSYBOX_FEATURE_TOP_SMP_PROCESS
	bool "Show CPU process runs on ('j' field)"
	default y
	depends on BUSYBOX_TOP
	help
	Show CPU where process was last found running on.
	This is the 'j' field.

config BUSYBOX_FEATURE_TOPMEM
	bool "Topmem command ('s' key)"
	default y
	depends on BUSYBOX_TOP
	help
	Enable 's' in top (gives lots of memory info).
config BUSYBOX_UPTIME
	bool "uptime (3.7 kb)"
	default y
	help
	uptime gives a one line display of the current time, how long
	the system has been running, how many users are currently logged
	on, and the system load averages for the past 1, 5, and 15 minutes.

config BUSYBOX_FEATURE_UPTIME_UTMP_SUPPORT
	bool "Show the number of users"
	default y
	depends on BUSYBOX_UPTIME && BUSYBOX_FEATURE_UTMP
	help
	Display the number of users currently logged on.
config BUSYBOX_WATCH
	bool "watch (4.4 kb)"
	default y
	help
	watch is used to execute a program periodically, showing
	output to the screen.

endmenu