blob: 5cd47c84f5f13a8637b47b9967007a97c9da93e5 [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
Denys Vlasenko8d9ac302011-09-26 02:56:08 +020093 depends on PS && !DESKTOP
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
Denys Vlasenko8d9ac302011-09-26 02:56:08 +020099config FEATURE_PS_LONG
100 bool "Enable long output option (-l)"
101 default y
102 depends on PS && !DESKTOP
103 help
104 Support argument 'l' for long output.
105 Adds fields PPID, RSS, START, TIME & TTY
106
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000107config FEATURE_PS_TIME
108 bool "Enable time and elapsed time output"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200109 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100110 depends on PS && DESKTOP
111 select PLATFORM_LINUX
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000112 help
113 Support -o time and -o etime output specifiers.
114
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200115config FEATURE_PS_ADDITIONAL_COLUMNS
116 bool "Enable additional ps columns"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200117 default y
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200118 depends on PS && DESKTOP
119 help
120 Support -o rgroup, -o ruser, -o nice output specifiers.
121
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000122config FEATURE_PS_UNUSUAL_SYSTEMS
123 bool "Support Linux prior to 2.4.0 and non-ELF systems"
124 default n
125 depends on FEATURE_PS_TIME
126 help
127 Include support for measuring HZ on old kernels and non-ELF systems
128 (if you are on Linux 2.4.0+ and use ELF, you don't need this)
129
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000130config RENICE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000131 bool "renice"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200132 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000133 help
Eric Andersene5642112003-07-14 19:37:08 +0000134 Renice alters the scheduling priority of one or more running
135 processes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000136
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000137config BB_SYSCTL
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000138 bool "sysctl"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200139 default y
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000140 help
141 Configure kernel parameters at runtime.
142
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000143config TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000144 bool "top"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200145 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000146 help
Eric Andersene5642112003-07-14 19:37:08 +0000147 The top program provides a dynamic real-time view of a running
148 system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000149
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000150config FEATURE_TOP_CPU_USAGE_PERCENTAGE
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000151 bool "Show CPU per-process usage percentage"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000152 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000153 depends on TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000154 help
Denis Vlasenko5a654472007-06-10 17:11:59 +0000155 Make top display CPU usage for each process.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000156 This adds about 2k.
Denis Vlasenko5a654472007-06-10 17:11:59 +0000157
158config FEATURE_TOP_CPU_GLOBAL_PERCENTS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000159 bool "Show CPU global usage percentage"
Denis Vlasenko5a654472007-06-10 17:11:59 +0000160 default y
161 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
162 help
Denis Vlasenkob1e5add2007-06-10 18:04:54 +0000163 Makes top display "CPU: NN% usr NN% sys..." line.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000164 This adds about 0.5k.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000165
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000166config FEATURE_TOP_SMP_CPU
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000167 bool "SMP CPU usage display ('c' key)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200168 default y
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000169 depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
170 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000171 Allow 'c' key to switch between individual/cumulative CPU stats
172 This adds about 0.5k.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000173
Denis Vlasenko74511962007-06-11 16:31:55 +0000174config FEATURE_TOP_DECIMALS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000175 bool "Show 1/10th of a percent in CPU/mem statistics"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200176 default y
Denis Vlasenko74511962007-06-11 16:31:55 +0000177 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
178 help
179 Show 1/10th of a percent in CPU/mem statistics.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000180 This adds about 0.3k.
Denis Vlasenko74511962007-06-11 16:31:55 +0000181
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000182config FEATURE_TOP_SMP_PROCESS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000183 bool "Show CPU process runs on ('j' field)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200184 default y
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000185 depends on TOP
186 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000187 Show CPU where process was last found running on.
188 This is the 'j' field.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000189
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000190config FEATURE_TOPMEM
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000191 bool "Topmem command ('s' key)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200192 default y
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000193 depends on TOP
194 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000195 Enable 's' in top (gives lots of memory info).
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000196
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200197config FEATURE_SHOW_THREADS
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200198 bool "Support for showing threads in ps/pstree/top"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200199 default y
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200200 depends on PS || TOP || PSTREE
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200201 help
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200202 Enables the ps -T option, showing of threads in pstree,
203 and 'h' command in top.
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200204
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