ash: eliminate 16 bytes in bss
[oweals/busybox.git] / procps / Config.in
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 config FREE
9         bool "free"
10         default n
11         help
12           free displays the total amount of free and used physical and swap
13           memory in the system, as well as the buffers used by the kernel.
14           The shared memory column should be ignored; it is obsolete.
15
16 config FUSER
17         bool "fuser"
18         default n
19         help
20           fuser lists all PIDs (Process IDs) that currently have a given
21           file open. fuser can also list all PIDs that have a given network
22           (TCP or UDP) port open.
23
24 config KILL
25         bool "kill"
26         default n
27         help
28           The command kill sends the specified signal to the specified
29           process or process group. If no signal is specified, the TERM
30           signal is sent.
31
32 config KILLALL
33         bool "killall"
34         default n
35         depends on KILL
36         help
37           killall sends a signal to all processes running any of the
38           specified commands. If no signal name is specified, SIGTERM is
39           sent.
40
41 config KILLALL5
42         bool "killall5"
43         default n
44         depends on KILL
45
46 config NMETER
47         bool "nmeter"
48         default n
49         help
50           Prints selected system stats continuously, one line per update.
51
52 config PGREP
53         bool "pgrep"
54         default n
55         help
56           Look for processes by name.
57
58 config PIDOF
59         bool "pidof"
60         default n
61         help
62           Pidof finds the process id's (pids) of the named programs. It prints
63           those id's on the standard output.
64
65 config FEATURE_PIDOF_SINGLE
66         bool "Enable argument for single shot (-s)"
67         default n
68         depends on PIDOF
69         help
70           Support argument '-s' for returning only the first pid found.
71
72 config FEATURE_PIDOF_OMIT
73         bool "Enable argument for omitting pids (-o)"
74         default n
75         depends on PIDOF
76         help
77           Support argument '-o' for omitting the given pids in output.
78           The special pid %PPID can be used to name the parent process
79           of the pidof, in other words the calling shell or shell script.
80
81 config PKILL
82         bool "pkill"
83         default n
84         help
85           Send signals to processes by name.
86
87 config PS
88         bool "ps"
89         default n
90         help
91           ps gives a snapshot of the current processes.
92
93 config FEATURE_PS_WIDE
94         bool "Enable wide output option (-w)"
95         default n
96         depends on PS
97         help
98           Support argument 'w' for wide output.
99           If given once, 132 chars are printed, and if given more
100           than once, the length is unlimited.
101
102 config FEATURE_PS_TIME
103         bool "Enable time and elapsed time output"
104         default n
105         depends on PS && DESKTOP
106         help
107           Support -o time and -o etime output specifiers.
108
109 config FEATURE_PS_ADDITIONAL_COLUMNS
110         bool "Enable additional ps columns"
111         default n
112         depends on PS && DESKTOP
113         help
114           Support -o rgroup, -o ruser, -o nice output specifiers.
115
116 config FEATURE_PS_UNUSUAL_SYSTEMS
117         bool "Support Linux prior to 2.4.0 and non-ELF systems"
118         default n
119         depends on FEATURE_PS_TIME
120         help
121           Include support for measuring HZ on old kernels and non-ELF systems
122           (if you are on Linux 2.4.0+ and use ELF, you don't need this)
123
124 config RENICE
125         bool "renice"
126         default n
127         help
128           Renice alters the scheduling priority of one or more running
129           processes.
130
131 config BB_SYSCTL
132         bool "sysctl"
133         default n
134         help
135           Configure kernel parameters at runtime.
136
137 config TOP
138         bool "top"
139         default n
140         help
141           The top program provides a dynamic real-time view of a running
142           system.
143
144 config FEATURE_TOP_CPU_USAGE_PERCENTAGE
145         bool "Show CPU per-process usage percentage"
146         default y
147         depends on TOP
148         help
149           Make top display CPU usage for each process.
150           This adds about 2k.
151
152 config FEATURE_TOP_CPU_GLOBAL_PERCENTS
153         bool "Show CPU global usage percentage"
154         default y
155         depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
156         help
157           Makes top display "CPU: NN% usr NN% sys..." line.
158           This adds about 0.5k.
159
160 config FEATURE_TOP_SMP_CPU
161         bool "SMP CPU usage display ('c' key)"
162         default n
163         depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
164         help
165           Allow 'c' key to switch between individual/cumulative CPU stats
166           This adds about 0.5k.
167
168 config FEATURE_TOP_DECIMALS
169         bool "Show 1/10th of a percent in CPU/mem statistics"
170         default n
171         depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
172         help
173           Show 1/10th of a percent in CPU/mem statistics.
174           This adds about 0.3k.
175
176 config FEATURE_TOP_SMP_PROCESS
177         bool "Show CPU process runs on ('j' field)"
178         default n
179         depends on TOP
180         help
181           Show CPU where process was last found running on.
182           This is the 'j' field.
183
184 config FEATURE_TOPMEM
185         bool "Topmem command ('s' key)"
186         default n
187         depends on TOP
188         help
189           Enable 's' in top (gives lots of memory info).
190
191 config FEATURE_SHOW_THREADS
192         bool "Support for showing threads in ps/top"
193         default n
194         depends on PS || TOP
195         help
196           Enables ps -T option and 'h' command in top
197
198 config UPTIME
199         bool "uptime"
200         default n
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 n
209         help
210           watch is used to execute a program periodically, showing
211           output to the screen.
212
213 endmenu