blob: 3e7df0b81cfe71f0371c82aaa72581bad9ee57d9 [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
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010013 select 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
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100102 depends on PS && DESKTOP
103 select PLATFORM_LINUX
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000104 help
105 Support -o time and -o etime output specifiers.
106
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200107config FEATURE_PS_ADDITIONAL_COLUMNS
108 bool "Enable additional ps columns"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200109 default y
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200110 depends on PS && DESKTOP
111 help
112 Support -o rgroup, -o ruser, -o nice output specifiers.
113
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000114config 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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000122config RENICE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000123 bool "renice"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200124 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000125 help
Eric Andersene5642112003-07-14 19:37:08 +0000126 Renice alters the scheduling priority of one or more running
127 processes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000128
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000129config BB_SYSCTL
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000130 bool "sysctl"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200131 default y
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000132 help
133 Configure kernel parameters at runtime.
134
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000135config TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000136 bool "top"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200137 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000138 help
Eric Andersene5642112003-07-14 19:37:08 +0000139 The top program provides a dynamic real-time view of a running
140 system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000141
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000142config FEATURE_TOP_CPU_USAGE_PERCENTAGE
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000143 bool "Show CPU per-process usage percentage"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000144 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000145 depends on TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000146 help
Denis Vlasenko5a654472007-06-10 17:11:59 +0000147 Make top display CPU usage for each process.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000148 This adds about 2k.
Denis Vlasenko5a654472007-06-10 17:11:59 +0000149
150config FEATURE_TOP_CPU_GLOBAL_PERCENTS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000151 bool "Show CPU global usage percentage"
Denis Vlasenko5a654472007-06-10 17:11:59 +0000152 default y
153 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
154 help
Denis Vlasenkob1e5add2007-06-10 18:04:54 +0000155 Makes top display "CPU: NN% usr NN% sys..." line.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000156 This adds about 0.5k.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000157
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000158config FEATURE_TOP_SMP_CPU
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000159 bool "SMP CPU usage display ('c' key)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200160 default y
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000161 depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
162 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000163 Allow 'c' key to switch between individual/cumulative CPU stats
164 This adds about 0.5k.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000165
Denis Vlasenko74511962007-06-11 16:31:55 +0000166config FEATURE_TOP_DECIMALS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000167 bool "Show 1/10th of a percent in CPU/mem statistics"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200168 default y
Denis Vlasenko74511962007-06-11 16:31:55 +0000169 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
170 help
171 Show 1/10th of a percent in CPU/mem statistics.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000172 This adds about 0.3k.
Denis Vlasenko74511962007-06-11 16:31:55 +0000173
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000174config FEATURE_TOP_SMP_PROCESS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000175 bool "Show CPU process runs on ('j' field)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200176 default y
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000177 depends on TOP
178 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000179 Show CPU where process was last found running on.
180 This is the 'j' field.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000181
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000182config FEATURE_TOPMEM
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000183 bool "Topmem command ('s' key)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200184 default y
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000185 depends on TOP
186 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000187 Enable 's' in top (gives lots of memory info).
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000188
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200189config FEATURE_SHOW_THREADS
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200190 bool "Support for showing threads in ps/pstree/top"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200191 default y
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200192 depends on PS || TOP || PSTREE
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200193 help
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200194 Enables the ps -T option, showing of threads in pstree,
195 and 'h' command in top.
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200196
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000197config UPTIME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000198 bool "uptime"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200199 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100200 select PLATFORM_LINUX #sysinfo()
Eric Andersenc9f20d92002-12-05 08:41:41 +0000201 help
Eric Andersene5642112003-07-14 19:37:08 +0000202 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.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000205
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000206config WATCH
207 bool "watch"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200208 default y
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000209 help
210 watch is used to execute a program periodically, showing
211 output to the screen.
212
Eric Andersenc9f20d92002-12-05 08:41:41 +0000213endmenu