blob: 01f6b0cf92d9927f34d12d990e70b842b4f46361 [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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008config FREE
Eric Andersenc9f20d92002-12-05 08:41:41 +00009 bool "free"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020010 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000011 help
Eric Andersene5642112003-07-14 19:37:08 +000012 free displays the total amount of free and used physical and swap
13 memory in the system, as well as the buffers used by the kernel.
14 The shared memory column should be ignored; it is obsolete.
Eric Andersenc9f20d92002-12-05 08:41:41 +000015
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000016config FUSER
Rob Landleyaa872762005-10-28 13:05:12 +000017 bool "fuser"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020018 default y
Rob Landleyaa872762005-10-28 13:05:12 +000019 help
Tim Rikerc1ef7bd2006-01-25 00:08:53 +000020 fuser lists all PIDs (Process IDs) that currently have a given
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000021 file open. fuser can also list all PIDs that have a given network
Rob Landleyaa872762005-10-28 13:05:12 +000022 (TCP or UDP) port open.
23
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000024config KILL
Eric Andersen110ee232002-12-06 21:44:50 +000025 bool "kill"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020026 default y
Eric Andersen110ee232002-12-06 21:44:50 +000027 help
Eric Andersene5642112003-07-14 19:37:08 +000028 The command kill sends the specified signal to the specified
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000029 process or process group. If no signal is specified, the TERM
Eric Andersene5642112003-07-14 19:37:08 +000030 signal is sent.
Eric Andersenc9f20d92002-12-05 08:41:41 +000031
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000032config KILLALL
Eric Andersenc9f20d92002-12-05 08:41:41 +000033 bool "killall"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020034 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000035 depends on KILL
Eric Andersenc9f20d92002-12-05 08:41:41 +000036 help
Eric Andersene5642112003-07-14 19:37:08 +000037 killall sends a signal to all processes running any of the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000038 specified commands. If no signal name is specified, SIGTERM is
Eric Andersene5642112003-07-14 19:37:08 +000039 sent.
Eric Andersenc9f20d92002-12-05 08:41:41 +000040
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000041config KILLALL5
Denis Vlasenko0bb628f2006-09-27 14:25:33 +000042 bool "killall5"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020043 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000044 depends on KILL
Denis Vlasenkof7996f32007-01-11 17:20:00 +000045
Denis Vlasenkocc5e0902007-06-12 08:12:33 +000046config NMETER
47 bool "nmeter"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020048 default y
Denis Vlasenkocc5e0902007-06-12 08:12:33 +000049 help
50 Prints selected system stats continuously, one line per update.
51
Denis Vlasenko72e1c892007-09-29 22:26:01 +000052config PGREP
53 bool "pgrep"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020054 default y
Denis Vlasenko72e1c892007-09-29 22:26:01 +000055 help
56 Look for processes by name.
57
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000058config PIDOF
Eric Andersenc9f20d92002-12-05 08:41:41 +000059 bool "pidof"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020060 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000061 help
Eric Andersene5642112003-07-14 19:37:08 +000062 Pidof finds the process id's (pids) of the named programs. It prints
63 those id's on the standard output.
Eric Andersenc9f20d92002-12-05 08:41:41 +000064
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000065config FEATURE_PIDOF_SINGLE
Rob Landley2ec922e2006-04-13 23:22:16 +000066 bool "Enable argument for single shot (-s)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020067 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000068 depends on PIDOF
Bernhard Reutner-Fischer81c3a512005-10-06 15:37:02 +000069 help
70 Support argument '-s' for returning only the first pid found.
71
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000072config FEATURE_PIDOF_OMIT
Rob Landley2ec922e2006-04-13 23:22:16 +000073 bool "Enable argument for omitting pids (-o)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020074 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000075 depends on PIDOF
Bernhard Reutner-Fischer81c3a512005-10-06 15:37:02 +000076 help
77 Support argument '-o' for omitting the given pids in output.
78 The special pid %PPID can be used to name the parent process
79 of the pidof, in other words the calling shell or shell script.
80
Denis Vlasenko72e1c892007-09-29 22:26:01 +000081config PKILL
82 bool "pkill"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020083 default y
Denis Vlasenko72e1c892007-09-29 22:26:01 +000084 help
85 Send signals to processes by name.
86
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000087config PS
Eric Andersenc9f20d92002-12-05 08:41:41 +000088 bool "ps"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020089 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000090 help
Eric Andersene5642112003-07-14 19:37:08 +000091 ps gives a snapshot of the current processes.
Eric Andersenc9f20d92002-12-05 08:41:41 +000092
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000093config FEATURE_PS_WIDE
Denys Vlasenkofca70a82009-07-03 22:16:17 +020094 bool "Enable wide output option (-w)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020095 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000096 depends on PS
Bernhard Reutner-Fischer6d6a40c2005-10-04 14:31:18 +000097 help
98 Support argument 'w' for wide output.
Denys Vlasenkofca70a82009-07-03 22:16:17 +020099 If given once, 132 chars are printed, and if given more
100 than once, the length is unlimited.
Bernhard Reutner-Fischer6d6a40c2005-10-04 14:31:18 +0000101
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000102config FEATURE_PS_TIME
103 bool "Enable time and elapsed time output"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200104 default y
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000105 depends on PS && DESKTOP
106 help
107 Support -o time and -o etime output specifiers.
108
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200109config FEATURE_PS_ADDITIONAL_COLUMNS
110 bool "Enable additional ps columns"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200111 default y
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200112 depends on PS && DESKTOP
113 help
114 Support -o rgroup, -o ruser, -o nice output specifiers.
115
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000116config FEATURE_PS_UNUSUAL_SYSTEMS
117 bool "Support Linux prior to 2.4.0 and non-ELF systems"
118 default n
119 depends on FEATURE_PS_TIME
120 help
121 Include support for measuring HZ on old kernels and non-ELF systems
122 (if you are on Linux 2.4.0+ and use ELF, you don't need this)
123
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000124config RENICE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000125 bool "renice"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200126 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000127 help
Eric Andersene5642112003-07-14 19:37:08 +0000128 Renice alters the scheduling priority of one or more running
129 processes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000130
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000131config BB_SYSCTL
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000132 bool "sysctl"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200133 default y
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000134 help
135 Configure kernel parameters at runtime.
136
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000137config TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000138 bool "top"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200139 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000140 help
Eric Andersene5642112003-07-14 19:37:08 +0000141 The top program provides a dynamic real-time view of a running
142 system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000143
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000144config FEATURE_TOP_CPU_USAGE_PERCENTAGE
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000145 bool "Show CPU per-process usage percentage"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000146 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000147 depends on TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000148 help
Denis Vlasenko5a654472007-06-10 17:11:59 +0000149 Make top display CPU usage for each process.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000150 This adds about 2k.
Denis Vlasenko5a654472007-06-10 17:11:59 +0000151
152config FEATURE_TOP_CPU_GLOBAL_PERCENTS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000153 bool "Show CPU global usage percentage"
Denis Vlasenko5a654472007-06-10 17:11:59 +0000154 default y
155 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
156 help
Denis Vlasenkob1e5add2007-06-10 18:04:54 +0000157 Makes top display "CPU: NN% usr NN% sys..." line.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000158 This adds about 0.5k.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000159
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000160config FEATURE_TOP_SMP_CPU
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000161 bool "SMP CPU usage display ('c' key)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200162 default y
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000163 depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
164 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000165 Allow 'c' key to switch between individual/cumulative CPU stats
166 This adds about 0.5k.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000167
Denis Vlasenko74511962007-06-11 16:31:55 +0000168config FEATURE_TOP_DECIMALS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000169 bool "Show 1/10th of a percent in CPU/mem statistics"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200170 default y
Denis Vlasenko74511962007-06-11 16:31:55 +0000171 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
172 help
173 Show 1/10th of a percent in CPU/mem statistics.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000174 This adds about 0.3k.
Denis Vlasenko74511962007-06-11 16:31:55 +0000175
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000176config FEATURE_TOP_SMP_PROCESS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000177 bool "Show CPU process runs on ('j' field)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200178 default y
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000179 depends on TOP
180 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000181 Show CPU where process was last found running on.
182 This is the 'j' field.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000183
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000184config FEATURE_TOPMEM
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000185 bool "Topmem command ('s' key)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200186 default y
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000187 depends on TOP
188 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000189 Enable 's' in top (gives lots of memory info).
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000190
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200191config FEATURE_SHOW_THREADS
192 bool "Support for showing threads in ps/top"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200193 default y
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200194 depends on PS || TOP
195 help
196 Enables ps -T option and 'h' command in top
197
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000198config UPTIME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000199 bool "uptime"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200200 default y
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