blob: 338d75c34a98c1a05c089c936c11a6e8ca173c79 [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 Vlasenkocc5e0902007-06-12 08:12:33 +000049config NMETER
50 bool "nmeter"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020051 default y
Denis Vlasenkocc5e0902007-06-12 08:12:33 +000052 help
53 Prints selected system stats continuously, one line per update.
54
Denis Vlasenko72e1c892007-09-29 22:26:01 +000055config PGREP
56 bool "pgrep"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020057 default y
Denis Vlasenko72e1c892007-09-29 22:26:01 +000058 help
59 Look for processes by name.
60
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000061config PIDOF
Eric Andersenc9f20d92002-12-05 08:41:41 +000062 bool "pidof"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020063 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000064 help
Eric Andersene5642112003-07-14 19:37:08 +000065 Pidof finds the process id's (pids) of the named programs. It prints
66 those id's on the standard output.
Eric Andersenc9f20d92002-12-05 08:41:41 +000067
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000068config FEATURE_PIDOF_SINGLE
Rob Landley2ec922e2006-04-13 23:22:16 +000069 bool "Enable argument for single shot (-s)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020070 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000071 depends on PIDOF
Bernhard Reutner-Fischer81c3a512005-10-06 15:37:02 +000072 help
73 Support argument '-s' for returning only the first pid found.
74
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000075config FEATURE_PIDOF_OMIT
Rob Landley2ec922e2006-04-13 23:22:16 +000076 bool "Enable argument for omitting pids (-o)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020077 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000078 depends on PIDOF
Bernhard Reutner-Fischer81c3a512005-10-06 15:37:02 +000079 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
Denis Vlasenko72e1c892007-09-29 22:26:01 +000084config PKILL
85 bool "pkill"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020086 default y
Denis Vlasenko72e1c892007-09-29 22:26:01 +000087 help
88 Send signals to processes by name.
89
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000090config PS
Eric Andersenc9f20d92002-12-05 08:41:41 +000091 bool "ps"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020092 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000093 help
Eric Andersene5642112003-07-14 19:37:08 +000094 ps gives a snapshot of the current processes.
Eric Andersenc9f20d92002-12-05 08:41:41 +000095
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000096config FEATURE_PS_WIDE
Denys Vlasenkofca70a82009-07-03 22:16:17 +020097 bool "Enable wide output option (-w)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020098 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000099 depends on PS
Bernhard Reutner-Fischer6d6a40c2005-10-04 14:31:18 +0000100 help
101 Support argument 'w' for wide output.
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200102 If given once, 132 chars are printed, and if given more
103 than once, the length is unlimited.
Bernhard Reutner-Fischer6d6a40c2005-10-04 14:31:18 +0000104
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000105config FEATURE_PS_TIME
106 bool "Enable time and elapsed time output"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200107 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200108 depends on PS && DESKTOP && PLATFORM_LINUX #sysinfo()
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000109 help
110 Support -o time and -o etime output specifiers.
111
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200112config FEATURE_PS_ADDITIONAL_COLUMNS
113 bool "Enable additional ps columns"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200114 default y
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200115 depends on PS && DESKTOP
116 help
117 Support -o rgroup, -o ruser, -o nice output specifiers.
118
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000119config 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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000127config RENICE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000128 bool "renice"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200129 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000130 help
Eric Andersene5642112003-07-14 19:37:08 +0000131 Renice alters the scheduling priority of one or more running
132 processes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000133
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000134config BB_SYSCTL
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000135 bool "sysctl"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200136 default y
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000137 help
138 Configure kernel parameters at runtime.
139
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000140config TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000141 bool "top"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200142 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000143 help
Eric Andersene5642112003-07-14 19:37:08 +0000144 The top program provides a dynamic real-time view of a running
145 system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000146
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000147config FEATURE_TOP_CPU_USAGE_PERCENTAGE
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000148 bool "Show CPU per-process usage percentage"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000149 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000150 depends on TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000151 help
Denis Vlasenko5a654472007-06-10 17:11:59 +0000152 Make top display CPU usage for each process.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000153 This adds about 2k.
Denis Vlasenko5a654472007-06-10 17:11:59 +0000154
155config FEATURE_TOP_CPU_GLOBAL_PERCENTS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000156 bool "Show CPU global usage percentage"
Denis Vlasenko5a654472007-06-10 17:11:59 +0000157 default y
158 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
159 help
Denis Vlasenkob1e5add2007-06-10 18:04:54 +0000160 Makes top display "CPU: NN% usr NN% sys..." line.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000161 This adds about 0.5k.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000162
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000163config FEATURE_TOP_SMP_CPU
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000164 bool "SMP CPU usage display ('c' key)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200165 default y
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000166 depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
167 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000168 Allow 'c' key to switch between individual/cumulative CPU stats
169 This adds about 0.5k.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000170
Denis Vlasenko74511962007-06-11 16:31:55 +0000171config FEATURE_TOP_DECIMALS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000172 bool "Show 1/10th of a percent in CPU/mem statistics"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200173 default y
Denis Vlasenko74511962007-06-11 16:31:55 +0000174 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
175 help
176 Show 1/10th of a percent in CPU/mem statistics.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000177 This adds about 0.3k.
Denis Vlasenko74511962007-06-11 16:31:55 +0000178
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000179config FEATURE_TOP_SMP_PROCESS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000180 bool "Show CPU process runs on ('j' field)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200181 default y
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000182 depends on TOP
183 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000184 Show CPU where process was last found running on.
185 This is the 'j' field.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000186
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000187config FEATURE_TOPMEM
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000188 bool "Topmem command ('s' key)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200189 default y
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000190 depends on TOP
191 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000192 Enable 's' in top (gives lots of memory info).
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000193
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200194config FEATURE_SHOW_THREADS
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200195 bool "Support for showing threads in ps/pstree/top"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200196 default y
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200197 depends on PS || TOP || PSTREE
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200198 help
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200199 Enables the ps -T option, showing of threads in pstree,
200 and 'h' command in top.
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200201
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000202config UPTIME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000203 bool "uptime"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200204 default y
Jeremie Koenig1d7266d2010-07-19 00:44:56 +0200205 depends on PLATFORM_LINUX #sysinfo()
Eric Andersenc9f20d92002-12-05 08:41:41 +0000206 help
Eric Andersene5642112003-07-14 19:37:08 +0000207 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.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000210
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000211config WATCH
212 bool "watch"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200213 default y
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000214 help
215 watch is used to execute a program periodically, showing
216 output to the screen.
217
Eric Andersenc9f20d92002-12-05 08:41:41 +0000218endmenu