Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"
[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
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_TIME
100         bool "Enable time and elapsed time output"
101         default y
102         depends on PS && DESKTOP
103         select PLATFORM_LINUX
104         help
105           Support -o time and -o etime output specifiers.
106
107 config FEATURE_PS_ADDITIONAL_COLUMNS
108         bool "Enable additional ps columns"
109         default y
110         depends on PS && DESKTOP
111         help
112           Support -o rgroup, -o ruser, -o nice output specifiers.
113
114 config FEATURE_PS_UNUSUAL_SYSTEMS
115         bool "Support Linux prior to 2.4.0 and non-ELF systems"
116         default n
117         depends on FEATURE_PS_TIME
118         help
119           Include support for measuring HZ on old kernels and non-ELF systems
120           (if you are on Linux 2.4.0+ and use ELF, you don't need this)
121
122 config RENICE
123         bool "renice"
124         default y
125         help
126           Renice alters the scheduling priority of one or more running
127           processes.
128
129 config BB_SYSCTL
130         bool "sysctl"
131         default y
132         help
133           Configure kernel parameters at runtime.
134
135 config TOP
136         bool "top"
137         default y
138         help
139           The top program provides a dynamic real-time view of a running
140           system.
141
142 config FEATURE_TOP_CPU_USAGE_PERCENTAGE
143         bool "Show CPU per-process usage percentage"
144         default y
145         depends on TOP
146         help
147           Make top display CPU usage for each process.
148           This adds about 2k.
149
150 config FEATURE_TOP_CPU_GLOBAL_PERCENTS
151         bool "Show CPU global usage percentage"
152         default y
153         depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
154         help
155           Makes top display "CPU: NN% usr NN% sys..." line.
156           This adds about 0.5k.
157
158 config FEATURE_TOP_SMP_CPU
159         bool "SMP CPU usage display ('c' key)"
160         default y
161         depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
162         help
163           Allow 'c' key to switch between individual/cumulative CPU stats
164           This adds about 0.5k.
165
166 config FEATURE_TOP_DECIMALS
167         bool "Show 1/10th of a percent in CPU/mem statistics"
168         default y
169         depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
170         help
171           Show 1/10th of a percent in CPU/mem statistics.
172           This adds about 0.3k.
173
174 config FEATURE_TOP_SMP_PROCESS
175         bool "Show CPU process runs on ('j' field)"
176         default y
177         depends on TOP
178         help
179           Show CPU where process was last found running on.
180           This is the 'j' field.
181
182 config FEATURE_TOPMEM
183         bool "Topmem command ('s' key)"
184         default y
185         depends on TOP
186         help
187           Enable 's' in top (gives lots of memory info).
188
189 config FEATURE_SHOW_THREADS
190         bool "Support for showing threads in ps/pstree/top"
191         default y
192         depends on PS || TOP || PSTREE
193         help
194           Enables the ps -T option, showing of threads in pstree,
195           and 'h' command in top.
196
197 config UPTIME
198         bool "uptime"
199         default y
200         select PLATFORM_LINUX #sysinfo()
201         help
202           uptime gives a one line display of the current time, how long
203           the system has been running, how many users are currently logged
204           on, and the system load averages for the past 1, 5, and 15 minutes.
205
206 config WATCH
207         bool "watch"
208         default y
209         help
210           watch is used to execute a program periodically, showing
211           output to the screen.
212
213 endmenu