procps/Config.src: Add pstree to FEATURE_THREADS deps. Slight text edit
[platform/upstream/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         depends on 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 NMETER
50         bool "nmeter"
51         default y
52         help
53           Prints selected system stats continuously, one line per update.
54
55 config PGREP
56         bool "pgrep"
57         default y
58         help
59           Look for processes by name.
60
61 config PIDOF
62         bool "pidof"
63         default y
64         help
65           Pidof finds the process id's (pids) of the named programs. It prints
66           those id's on the standard output.
67
68 config FEATURE_PIDOF_SINGLE
69         bool "Enable argument for single shot (-s)"
70         default y
71         depends on PIDOF
72         help
73           Support argument '-s' for returning only the first pid found.
74
75 config FEATURE_PIDOF_OMIT
76         bool "Enable argument for omitting pids (-o)"
77         default y
78         depends on PIDOF
79         help
80           Support argument '-o' for omitting the given pids in output.
81           The special pid %PPID can be used to name the parent process
82           of the pidof, in other words the calling shell or shell script.
83
84 config PKILL
85         bool "pkill"
86         default y
87         help
88           Send signals to processes by name.
89
90 config PS
91         bool "ps"
92         default y
93         help
94           ps gives a snapshot of the current processes.
95
96 config FEATURE_PS_WIDE
97         bool "Enable wide output option (-w)"
98         default y
99         depends on PS
100         help
101           Support argument 'w' for wide output.
102           If given once, 132 chars are printed, and if given more
103           than once, the length is unlimited.
104
105 config FEATURE_PS_TIME
106         bool "Enable time and elapsed time output"
107         default y
108         depends on PS && DESKTOP && PLATFORM_LINUX #sysinfo()
109         help
110           Support -o time and -o etime output specifiers.
111
112 config FEATURE_PS_ADDITIONAL_COLUMNS
113         bool "Enable additional ps columns"
114         default y
115         depends on PS && DESKTOP
116         help
117           Support -o rgroup, -o ruser, -o nice output specifiers.
118
119 config FEATURE_PS_UNUSUAL_SYSTEMS
120         bool "Support Linux prior to 2.4.0 and non-ELF systems"
121         default n
122         depends on FEATURE_PS_TIME
123         help
124           Include support for measuring HZ on old kernels and non-ELF systems
125           (if you are on Linux 2.4.0+ and use ELF, you don't need this)
126
127 config RENICE
128         bool "renice"
129         default y
130         help
131           Renice alters the scheduling priority of one or more running
132           processes.
133
134 config BB_SYSCTL
135         bool "sysctl"
136         default y
137         help
138           Configure kernel parameters at runtime.
139
140 config TOP
141         bool "top"
142         default y
143         help
144           The top program provides a dynamic real-time view of a running
145           system.
146
147 config FEATURE_TOP_CPU_USAGE_PERCENTAGE
148         bool "Show CPU per-process usage percentage"
149         default y
150         depends on TOP
151         help
152           Make top display CPU usage for each process.
153           This adds about 2k.
154
155 config FEATURE_TOP_CPU_GLOBAL_PERCENTS
156         bool "Show CPU global usage percentage"
157         default y
158         depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
159         help
160           Makes top display "CPU: NN% usr NN% sys..." line.
161           This adds about 0.5k.
162
163 config FEATURE_TOP_SMP_CPU
164         bool "SMP CPU usage display ('c' key)"
165         default y
166         depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
167         help
168           Allow 'c' key to switch between individual/cumulative CPU stats
169           This adds about 0.5k.
170
171 config FEATURE_TOP_DECIMALS
172         bool "Show 1/10th of a percent in CPU/mem statistics"
173         default y
174         depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
175         help
176           Show 1/10th of a percent in CPU/mem statistics.
177           This adds about 0.3k.
178
179 config FEATURE_TOP_SMP_PROCESS
180         bool "Show CPU process runs on ('j' field)"
181         default y
182         depends on TOP
183         help
184           Show CPU where process was last found running on.
185           This is the 'j' field.
186
187 config FEATURE_TOPMEM
188         bool "Topmem command ('s' key)"
189         default y
190         depends on TOP
191         help
192           Enable 's' in top (gives lots of memory info).
193
194 config FEATURE_SHOW_THREADS
195         bool "Support for showing threads in ps/pstree/top"
196         default y
197         depends on PS || TOP || PSTREE
198         help
199           Enables the ps -T option, showing of threads in pstree,
200           and 'h' command in top.
201
202 config UPTIME
203         bool "uptime"
204         default y
205         depends on PLATFORM_LINUX #sysinfo()
206         help
207           uptime gives a one line display of the current time, how long
208           the system has been running, how many users are currently logged
209           on, and the system load averages for the past 1, 5, and 15 minutes.
210
211 config WATCH
212         bool "watch"
213         default y
214         help
215           watch is used to execute a program periodically, showing
216           output to the screen.
217
218 endmenu