brctl: fix build failure by s/strtotimeval/bb_strtotimeval/ (android has strtotimeval)
[oweals/busybox.git] / procps / Config.src
1 #
2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
4 #
5
6 menu "Process Utilities"
7
8 INSERT
9
10 config FREE
11         bool "free"
12         default y
13         select PLATFORM_LINUX #sysinfo()
14         help
15           free displays the total amount of free and used physical and swap
16           memory in the system, as well as the buffers used by the kernel.
17           The shared memory column should be ignored; it is obsolete.
18
19 config FUSER
20         bool "fuser"
21         default y
22         help
23           fuser lists all PIDs (Process IDs) that currently have a given
24           file open. fuser can also list all PIDs that have a given network
25           (TCP or UDP) port open.
26
27 config KILL
28         bool "kill"
29         default y
30         help
31           The command kill sends the specified signal to the specified
32           process or process group. If no signal is specified, the TERM
33           signal is sent.
34
35 config KILLALL
36         bool "killall"
37         default y
38         depends on KILL
39         help
40           killall sends a signal to all processes running any of the
41           specified commands. If no signal name is specified, SIGTERM is
42           sent.
43
44 config KILLALL5
45         bool "killall5"
46         default y
47         depends on KILL
48
49 config PGREP
50         bool "pgrep"
51         default y
52         help
53           Look for processes by name.
54
55 config PIDOF
56         bool "pidof"
57         default y
58         help
59           Pidof finds the process id's (pids) of the named programs. It prints
60           those id's on the standard output.
61
62 config FEATURE_PIDOF_SINGLE
63         bool "Enable argument for single shot (-s)"
64         default y
65         depends on PIDOF
66         help
67           Support argument '-s' for returning only the first pid found.
68
69 config FEATURE_PIDOF_OMIT
70         bool "Enable argument for omitting pids (-o)"
71         default y
72         depends on PIDOF
73         help
74           Support argument '-o' for omitting the given pids in output.
75           The special pid %PPID can be used to name the parent process
76           of the pidof, in other words the calling shell or shell script.
77
78 config PKILL
79         bool "pkill"
80         default y
81         help
82           Send signals to processes by name.
83
84 config PS
85         bool "ps"
86         default y
87         help
88           ps gives a snapshot of the current processes.
89
90 config FEATURE_PS_WIDE
91         bool "Enable wide output option (-w)"
92         default y
93         depends on PS && !DESKTOP
94         help
95           Support argument 'w' for wide output.
96           If given once, 132 chars are printed, and if given more
97           than once, the length is unlimited.
98
99 config FEATURE_PS_LONG
100         bool "Enable long output option (-l)"
101         default y
102         depends on PS && !DESKTOP
103         help
104           Support argument 'l' for long output.
105           Adds fields PPID, RSS, START, TIME & TTY
106
107 config FEATURE_PS_TIME
108         bool "Enable time and elapsed time output"
109         default y
110         depends on PS && DESKTOP
111         select PLATFORM_LINUX
112         help
113           Support -o time and -o etime output specifiers.
114
115 config FEATURE_PS_ADDITIONAL_COLUMNS
116         bool "Enable additional ps columns"
117         default y
118         depends on PS && DESKTOP
119         help
120           Support -o rgroup, -o ruser, -o nice output specifiers.
121
122 config FEATURE_PS_UNUSUAL_SYSTEMS
123         bool "Support Linux prior to 2.4.0 and non-ELF systems"
124         default n
125         depends on FEATURE_PS_TIME
126         help
127           Include support for measuring HZ on old kernels and non-ELF systems
128           (if you are on Linux 2.4.0+ and use ELF, you don't need this)
129
130 config RENICE
131         bool "renice"
132         default y
133         help
134           Renice alters the scheduling priority of one or more running
135           processes.
136
137 config BB_SYSCTL
138         bool "sysctl"
139         default y
140         help
141           Configure kernel parameters at runtime.
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
198         bool "Support for showing threads in ps/pstree/top"
199         default y
200         depends on PS || TOP || PSTREE
201         help
202           Enables the ps -T option, showing of threads in pstree,
203           and 'h' command in top.
204
205 config WATCH
206         bool "watch"
207         default y
208         help
209           watch is used to execute a program periodically, showing
210           output to the screen.
211
212 endmenu