blob: cf664eeb2a4a7ead822f3c5d01fcdc2b9c809cca [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Process Utilities"
7
Denys Vlasenkod70e0e92010-06-08 12:15:11 +02008INSERT
9
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000010config FREE
Eric Andersenc9f20d92002-12-05 08:41:41 +000011 bool "free"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020012 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +020013 depends on PLATFORM_LINUX #sysinfo()
Eric Andersenc9f20d92002-12-05 08:41:41 +000014 help
Eric Andersene5642112003-07-14 19:37:08 +000015 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.
Eric Andersenc9f20d92002-12-05 08:41:41 +000018
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000019config FUSER
Rob Landleyaa872762005-10-28 13:05:12 +000020 bool "fuser"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020021 default y
Rob Landleyaa872762005-10-28 13:05:12 +000022 help
Tim Rikerc1ef7bd2006-01-25 00:08:53 +000023 fuser lists all PIDs (Process IDs) that currently have a given
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000024 file open. fuser can also list all PIDs that have a given network
Rob Landleyaa872762005-10-28 13:05:12 +000025 (TCP or UDP) port open.
26
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000027config KILL
Eric Andersen110ee232002-12-06 21:44:50 +000028 bool "kill"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020029 default y
Eric Andersen110ee232002-12-06 21:44:50 +000030 help
Eric Andersene5642112003-07-14 19:37:08 +000031 The command kill sends the specified signal to the specified
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000032 process or process group. If no signal is specified, the TERM
Eric Andersene5642112003-07-14 19:37:08 +000033 signal is sent.
Eric Andersenc9f20d92002-12-05 08:41:41 +000034
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000035config KILLALL
Eric Andersenc9f20d92002-12-05 08:41:41 +000036 bool "killall"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020037 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000038 depends on KILL
Eric Andersenc9f20d92002-12-05 08:41:41 +000039 help
Eric Andersene5642112003-07-14 19:37:08 +000040 killall sends a signal to all processes running any of the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000041 specified commands. If no signal name is specified, SIGTERM is
Eric Andersene5642112003-07-14 19:37:08 +000042 sent.
Eric Andersenc9f20d92002-12-05 08:41:41 +000043
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000044config KILLALL5
Denis Vlasenko0bb628f2006-09-27 14:25:33 +000045 bool "killall5"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020046 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000047 depends on KILL
Denis Vlasenkof7996f32007-01-11 17:20:00 +000048
Denis Vlasenko72e1c892007-09-29 22:26:01 +000049config PGREP
50 bool "pgrep"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020051 default y
Denis Vlasenko72e1c892007-09-29 22:26:01 +000052 help
53 Look for processes by name.
54
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000055config PIDOF
Eric Andersenc9f20d92002-12-05 08:41:41 +000056 bool "pidof"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020057 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000058 help
Eric Andersene5642112003-07-14 19:37:08 +000059 Pidof finds the process id's (pids) of the named programs. It prints
60 those id's on the standard output.
Eric Andersenc9f20d92002-12-05 08:41:41 +000061
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000062config FEATURE_PIDOF_SINGLE
Rob Landley2ec922e2006-04-13 23:22:16 +000063 bool "Enable argument for single shot (-s)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020064 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000065 depends on PIDOF
Bernhard Reutner-Fischer81c3a512005-10-06 15:37:02 +000066 help
67 Support argument '-s' for returning only the first pid found.
68
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000069config FEATURE_PIDOF_OMIT
Rob Landley2ec922e2006-04-13 23:22:16 +000070 bool "Enable argument for omitting pids (-o)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020071 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000072 depends on PIDOF
Bernhard Reutner-Fischer81c3a512005-10-06 15:37:02 +000073 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
Denis Vlasenko72e1c892007-09-29 22:26:01 +000078config PKILL
79 bool "pkill"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020080 default y
Denis Vlasenko72e1c892007-09-29 22:26:01 +000081 help
82 Send signals to processes by name.
83
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000084config PS
Eric Andersenc9f20d92002-12-05 08:41:41 +000085 bool "ps"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020086 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000087 help
Eric Andersene5642112003-07-14 19:37:08 +000088 ps gives a snapshot of the current processes.
Eric Andersenc9f20d92002-12-05 08:41:41 +000089
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000090config FEATURE_PS_WIDE
Denys Vlasenkofca70a82009-07-03 22:16:17 +020091 bool "Enable wide output option (-w)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020092 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000093 depends on PS
Bernhard Reutner-Fischer6d6a40c2005-10-04 14:31:18 +000094 help
95 Support argument 'w' for wide output.
Denys Vlasenkofca70a82009-07-03 22:16:17 +020096 If given once, 132 chars are printed, and if given more
97 than once, the length is unlimited.
Bernhard Reutner-Fischer6d6a40c2005-10-04 14:31:18 +000098
Denis Vlasenko5fee2e12008-01-05 03:26:41 +000099config FEATURE_PS_TIME
100 bool "Enable time and elapsed time output"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200101 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200102 depends on PS && DESKTOP && PLATFORM_LINUX #sysinfo()
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000103 help
104 Support -o time and -o etime output specifiers.
105
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200106config FEATURE_PS_ADDITIONAL_COLUMNS
107 bool "Enable additional ps columns"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200108 default y
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200109 depends on PS && DESKTOP
110 help
111 Support -o rgroup, -o ruser, -o nice output specifiers.
112
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000113config FEATURE_PS_UNUSUAL_SYSTEMS
114 bool "Support Linux prior to 2.4.0 and non-ELF systems"
115 default n
116 depends on FEATURE_PS_TIME
117 help
118 Include support for measuring HZ on old kernels and non-ELF systems
119 (if you are on Linux 2.4.0+ and use ELF, you don't need this)
120
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000121config RENICE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000122 bool "renice"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200123 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000124 help
Eric Andersene5642112003-07-14 19:37:08 +0000125 Renice alters the scheduling priority of one or more running
126 processes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000127
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000128config BB_SYSCTL
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000129 bool "sysctl"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200130 default y
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000131 help
132 Configure kernel parameters at runtime.
133
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000134config TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000135 bool "top"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200136 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000137 help
Eric Andersene5642112003-07-14 19:37:08 +0000138 The top program provides a dynamic real-time view of a running
139 system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000140
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000141config FEATURE_TOP_CPU_USAGE_PERCENTAGE
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000142 bool "Show CPU per-process usage percentage"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000143 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000144 depends on TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000145 help
Denis Vlasenko5a654472007-06-10 17:11:59 +0000146 Make top display CPU usage for each process.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000147 This adds about 2k.
Denis Vlasenko5a654472007-06-10 17:11:59 +0000148
149config FEATURE_TOP_CPU_GLOBAL_PERCENTS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000150 bool "Show CPU global usage percentage"
Denis Vlasenko5a654472007-06-10 17:11:59 +0000151 default y
152 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
153 help
Denis Vlasenkob1e5add2007-06-10 18:04:54 +0000154 Makes top display "CPU: NN% usr NN% sys..." line.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000155 This adds about 0.5k.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000156
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000157config FEATURE_TOP_SMP_CPU
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000158 bool "SMP CPU usage display ('c' key)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200159 default y
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000160 depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
161 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000162 Allow 'c' key to switch between individual/cumulative CPU stats
163 This adds about 0.5k.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000164
Denis Vlasenko74511962007-06-11 16:31:55 +0000165config FEATURE_TOP_DECIMALS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000166 bool "Show 1/10th of a percent in CPU/mem statistics"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200167 default y
Denis Vlasenko74511962007-06-11 16:31:55 +0000168 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
169 help
170 Show 1/10th of a percent in CPU/mem statistics.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000171 This adds about 0.3k.
Denis Vlasenko74511962007-06-11 16:31:55 +0000172
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000173config FEATURE_TOP_SMP_PROCESS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000174 bool "Show CPU process runs on ('j' field)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200175 default y
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000176 depends on TOP
177 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000178 Show CPU where process was last found running on.
179 This is the 'j' field.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000180
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000181config FEATURE_TOPMEM
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000182 bool "Topmem command ('s' key)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200183 default y
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000184 depends on TOP
185 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000186 Enable 's' in top (gives lots of memory info).
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000187
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200188config FEATURE_SHOW_THREADS
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200189 bool "Support for showing threads in ps/pstree/top"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200190 default y
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200191 depends on PS || TOP || PSTREE
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200192 help
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200193 Enables the ps -T option, showing of threads in pstree,
194 and 'h' command in top.
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200195
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000196config UPTIME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000197 bool "uptime"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200198 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200199 depends on PLATFORM_LINUX #sysinfo()
Eric Andersenc9f20d92002-12-05 08:41:41 +0000200 help
Eric Andersene5642112003-07-14 19:37:08 +0000201 uptime gives a one line display of the current time, how long
202 the system has been running, how many users are currently logged
203 on, and the system load averages for the past 1, 5, and 15 minutes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000204
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000205config WATCH
206 bool "watch"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200207 default y
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000208 help
209 watch is used to execute a program periodically, showing
210 output to the screen.
211
Eric Andersenc9f20d92002-12-05 08:41:41 +0000212endmenu