summaryrefslogtreecommitdiff
path: root/busybox-procps.kconfig
blob: 1fc9bd595a5cb6ab9b61443be632f8b04890b178 (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
#
# For a description of the syntax of this configuration file,
# see scripts/kbuild/config-language.txt.
#

comment "-------------------------------------------------"
comment "Process Utilities"
comment "-------------------------------------------------"

config KEMBTK_BUSYB_IOSTAT
	bool "iostat"
	default y
	help
	  Report KEMBTK_BUSYB_CPU and I/O statistics
config KEMBTK_BUSYB_LSOF
	bool "lsof"
	default y
	help
	  Show open files in the format of:
	  PID <TAB> /path/to/executable <TAB> /path/to/opened/file
config KEMBTK_BUSYB_MPSTAT
	bool "mpstat"
	default y
	help
	  Per-processor statistics
config KEMBTK_BUSYB_NMETER
	bool "nmeter"
	default y
	help
	  Prints selected system stats continuously, one line per update.
config KEMBTK_BUSYB_PMAP
       bool "pmap"
       default y
       help
         Display processes' memory mappings.
config KEMBTK_BUSYB_POWERTOP
	bool "powertop"
	default y
	help
	  Analyze power consumption on Intel-based laptops
config KEMBTK_BUSYB_PSTREE
	bool "pstree"
	default y
	help
	  Display a tree of processes.
config KEMBTK_BUSYB_PWDX
	bool "pwdx"
	default y
	help
	  Report current working directory of a process
config KEMBTK_BUSYB_SMEMCAP
	bool "smemcap"
	default y
	help
	  smemcap is a tool for capturing process data for smem,
	  a memory usage statistic tool.
config KEMBTK_BUSYB_UPTIME
	bool "uptime"
	default y
	select KEMBTK_BUSYB_PLATFORM_LINUX #sysinfo()
	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 KEMBTK_BUSYB_FEATURE_UPTIME_UTMP_SUPPORT
	bool "Support for showing the number of users"
	default y
	depends on KEMBTK_BUSYB_UPTIME && KEMBTK_BUSYB_FEATURE_UTMP
	help
	  Makes uptime display the number of users currently logged on.

config KEMBTK_BUSYB_FREE
	bool "free"
	default y
	select KEMBTK_BUSYB_PLATFORM_LINUX #sysinfo()
	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 KEMBTK_BUSYB_FUSER
	bool "fuser"
	default y
	help
	  fuser lists all PIDs (Process KEMBTK_BUSYB_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 KEMBTK_BUSYB_KILL
	bool "kill"
	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 KEMBTK_BUSYB_KILLALL
	bool "killall"
	default y
	depends on KEMBTK_BUSYB_KILL
	help
	  killall sends a signal to all processes running any of the
	  specified commands. If no signal name is specified, SIGTERM is
	  sent.

config KEMBTK_BUSYB_KILLALL5
	bool "killall5"
	default y
	depends on KEMBTK_BUSYB_KILL

config KEMBTK_BUSYB_PGREP
	bool "pgrep"
	default y
	help
	  Look for processes by name.

config KEMBTK_BUSYB_PIDOF
	bool "pidof"
	default y
	help
	  Pidof finds the process id's (pids) of the named programs. It prints
	  those id's on the standard output.

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

config KEMBTK_BUSYB_FEATURE_PIDOF_OMIT
	bool "Enable argument for omitting pids (-o)"
	default y
	depends on KEMBTK_BUSYB_PIDOF
	help
	  Support argument '-o' for omitting the given pids 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 KEMBTK_BUSYB_PKILL
	bool "pkill"
	default y
	help
	  Send signals to processes by name.

config KEMBTK_BUSYB_PS
	bool "ps"
	default y
	help
	  ps gives a snapshot of the current processes.

config KEMBTK_BUSYB_FEATURE_PS_WIDE
	bool "Enable wide output option (-w)"
	default y
	depends on KEMBTK_BUSYB_PS && !KEMBTK_BUSYB_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 KEMBTK_BUSYB_FEATURE_PS_LONG
	bool "Enable long output option (-l)"
	default y
	depends on KEMBTK_BUSYB_PS && !KEMBTK_BUSYB_DESKTOP
	help
	  Support argument 'l' for long output.
	  Adds fields PPID, RSS, START, KEMBTK_BUSYB_TIME & KEMBTK_BUSYB_TTY

config KEMBTK_BUSYB_FEATURE_PS_TIME
	bool "Enable time and elapsed time output"
	default y
	depends on KEMBTK_BUSYB_PS && KEMBTK_BUSYB_DESKTOP
	select KEMBTK_BUSYB_PLATFORM_LINUX
	help
	  Support -o time and -o etime output specifiers.

config KEMBTK_BUSYB_FEATURE_PS_ADDITIONAL_COLUMNS
	bool "Enable additional ps columns"
	default y
	depends on KEMBTK_BUSYB_PS && KEMBTK_BUSYB_DESKTOP
	help
	  Support -o rgroup, -o ruser, -o nice output specifiers.

config KEMBTK_BUSYB_FEATURE_PS_UNUSUAL_SYSTEMS
	bool "Support Linux prior to 2.4.0 and non-ELF systems"
	depends on KEMBTK_BUSYB_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 KEMBTK_BUSYB_RENICE
	bool "renice"
	default y
	help
	  Renice alters the scheduling priority of one or more running
	  processes.

config KEMBTK_BUSYB_BB_SYSCTL
	bool "sysctl"
	default y
	help
	  Configure kernel parameters at runtime.

config KEMBTK_BUSYB_TOP
	bool "top"
	default y
	help
	  The top program provides a dynamic real-time view of a running
	  system.

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

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

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

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

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

config KEMBTK_BUSYB_FEATURE_TOPMEM
	bool "Topmem command ('s' key)"
	default y
	depends on KEMBTK_BUSYB_TOP
	help
	  Enable 's' in top (gives lots of memory info).

config KEMBTK_BUSYB_FEATURE_SHOW_THREADS
	bool "Support for showing threads in ps/pstree/top"
	default y
	depends on KEMBTK_BUSYB_PS || KEMBTK_BUSYB_TOP || KEMBTK_BUSYB_PSTREE
	help
	  Enables the ps -T option, showing of threads in pstree,
	  and 'h' command in top.

config KEMBTK_BUSYB_WATCH
	bool "watch"
	default y
	help
	  watch is used to execute a program periodically, showing
	  output to the screen.