blob: e61de561436deb1ebce67888b3a15ba11a4f82e8 [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
Eric Andersenc9f20d92002-12-05 08:41:41 +000013 help
Eric Andersene5642112003-07-14 19:37:08 +000014 free displays the total amount of free and used physical and swap
15 memory in the system, as well as the buffers used by the kernel.
16 The shared memory column should be ignored; it is obsolete.
Eric Andersenc9f20d92002-12-05 08:41:41 +000017
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000018config FUSER
Rob Landleyaa872762005-10-28 13:05:12 +000019 bool "fuser"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020020 default y
Rob Landleyaa872762005-10-28 13:05:12 +000021 help
Tim Rikerc1ef7bd2006-01-25 00:08:53 +000022 fuser lists all PIDs (Process IDs) that currently have a given
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000023 file open. fuser can also list all PIDs that have a given network
Rob Landleyaa872762005-10-28 13:05:12 +000024 (TCP or UDP) port open.
25
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000026config KILL
Eric Andersen110ee232002-12-06 21:44:50 +000027 bool "kill"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020028 default y
Eric Andersen110ee232002-12-06 21:44:50 +000029 help
Eric Andersene5642112003-07-14 19:37:08 +000030 The command kill sends the specified signal to the specified
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000031 process or process group. If no signal is specified, the TERM
Eric Andersene5642112003-07-14 19:37:08 +000032 signal is sent.
Eric Andersenc9f20d92002-12-05 08:41:41 +000033
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000034config KILLALL
Eric Andersenc9f20d92002-12-05 08:41:41 +000035 bool "killall"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020036 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000037 depends on KILL
Eric Andersenc9f20d92002-12-05 08:41:41 +000038 help
Eric Andersene5642112003-07-14 19:37:08 +000039 killall sends a signal to all processes running any of the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000040 specified commands. If no signal name is specified, SIGTERM is
Eric Andersene5642112003-07-14 19:37:08 +000041 sent.
Eric Andersenc9f20d92002-12-05 08:41:41 +000042
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000043config KILLALL5
Denis Vlasenko0bb628f2006-09-27 14:25:33 +000044 bool "killall5"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020045 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000046 depends on KILL
Denis Vlasenkof7996f32007-01-11 17:20:00 +000047
Denis Vlasenkocc5e0902007-06-12 08:12:33 +000048config NMETER
49 bool "nmeter"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020050 default y
Denis Vlasenkocc5e0902007-06-12 08:12:33 +000051 help
52 Prints selected system stats continuously, one line per update.
53
Denis Vlasenko72e1c892007-09-29 22:26:01 +000054config PGREP
55 bool "pgrep"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020056 default y
Denis Vlasenko72e1c892007-09-29 22:26:01 +000057 help
58 Look for processes by name.
59
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000060config PIDOF
Eric Andersenc9f20d92002-12-05 08:41:41 +000061 bool "pidof"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020062 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000063 help
Eric Andersene5642112003-07-14 19:37:08 +000064 Pidof finds the process id's (pids) of the named programs. It prints
65 those id's on the standard output.
Eric Andersenc9f20d92002-12-05 08:41:41 +000066
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000067config FEATURE_PIDOF_SINGLE
Rob Landley2ec922e2006-04-13 23:22:16 +000068 bool "Enable argument for single shot (-s)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020069 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000070 depends on PIDOF
Bernhard Reutner-Fischer81c3a512005-10-06 15:37:02 +000071 help
72 Support argument '-s' for returning only the first pid found.
73
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000074config FEATURE_PIDOF_OMIT
Rob Landley2ec922e2006-04-13 23:22:16 +000075 bool "Enable argument for omitting pids (-o)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020076 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000077 depends on PIDOF
Bernhard Reutner-Fischer81c3a512005-10-06 15:37:02 +000078 help
79 Support argument '-o' for omitting the given pids in output.
80 The special pid %PPID can be used to name the parent process
81 of the pidof, in other words the calling shell or shell script.
82
Denis Vlasenko72e1c892007-09-29 22:26:01 +000083config PKILL
84 bool "pkill"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020085 default y
Denis Vlasenko72e1c892007-09-29 22:26:01 +000086 help
87 Send signals to processes by name.
88
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000089config PS
Eric Andersenc9f20d92002-12-05 08:41:41 +000090 bool "ps"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020091 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000092 help
Eric Andersene5642112003-07-14 19:37:08 +000093 ps gives a snapshot of the current processes.
Eric Andersenc9f20d92002-12-05 08:41:41 +000094
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000095config FEATURE_PS_WIDE
Denys Vlasenkofca70a82009-07-03 22:16:17 +020096 bool "Enable wide output option (-w)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020097 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000098 depends on PS
Bernhard Reutner-Fischer6d6a40c2005-10-04 14:31:18 +000099 help
100 Support argument 'w' for wide output.
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200101 If given once, 132 chars are printed, and if given more
102 than once, the length is unlimited.
Bernhard Reutner-Fischer6d6a40c2005-10-04 14:31:18 +0000103
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000104config FEATURE_PS_TIME
105 bool "Enable time and elapsed time output"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200106 default y
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000107 depends on PS && DESKTOP
108 help
109 Support -o time and -o etime output specifiers.
110
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200111config FEATURE_PS_ADDITIONAL_COLUMNS
112 bool "Enable additional ps columns"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200113 default y
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200114 depends on PS && DESKTOP
115 help
116 Support -o rgroup, -o ruser, -o nice output specifiers.
117
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000118config FEATURE_PS_UNUSUAL_SYSTEMS
119 bool "Support Linux prior to 2.4.0 and non-ELF systems"
120 default n
121 depends on FEATURE_PS_TIME
122 help
123 Include support for measuring HZ on old kernels and non-ELF systems
124 (if you are on Linux 2.4.0+ and use ELF, you don't need this)
125
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000126config RENICE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000127 bool "renice"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200128 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000129 help
Eric Andersene5642112003-07-14 19:37:08 +0000130 Renice alters the scheduling priority of one or more running
131 processes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000132
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000133config BB_SYSCTL
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000134 bool "sysctl"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200135 default y
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000136 help
137 Configure kernel parameters at runtime.
138
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000139config TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000140 bool "top"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200141 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000142 help
Eric Andersene5642112003-07-14 19:37:08 +0000143 The top program provides a dynamic real-time view of a running
144 system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000145
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000146config FEATURE_TOP_CPU_USAGE_PERCENTAGE
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000147 bool "Show CPU per-process usage percentage"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000148 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000149 depends on TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000150 help
Denis Vlasenko5a654472007-06-10 17:11:59 +0000151 Make top display CPU usage for each process.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000152 This adds about 2k.
Denis Vlasenko5a654472007-06-10 17:11:59 +0000153
154config FEATURE_TOP_CPU_GLOBAL_PERCENTS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000155 bool "Show CPU global usage percentage"
Denis Vlasenko5a654472007-06-10 17:11:59 +0000156 default y
157 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
158 help
Denis Vlasenkob1e5add2007-06-10 18:04:54 +0000159 Makes top display "CPU: NN% usr NN% sys..." line.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000160 This adds about 0.5k.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000161
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000162config FEATURE_TOP_SMP_CPU
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000163 bool "SMP CPU usage display ('c' key)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200164 default y
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000165 depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
166 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000167 Allow 'c' key to switch between individual/cumulative CPU stats
168 This adds about 0.5k.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000169
Denis Vlasenko74511962007-06-11 16:31:55 +0000170config FEATURE_TOP_DECIMALS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000171 bool "Show 1/10th of a percent in CPU/mem statistics"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200172 default y
Denis Vlasenko74511962007-06-11 16:31:55 +0000173 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
174 help
175 Show 1/10th of a percent in CPU/mem statistics.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000176 This adds about 0.3k.
Denis Vlasenko74511962007-06-11 16:31:55 +0000177
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000178config FEATURE_TOP_SMP_PROCESS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000179 bool "Show CPU process runs on ('j' field)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200180 default y
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000181 depends on TOP
182 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000183 Show CPU where process was last found running on.
184 This is the 'j' field.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000185
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000186config FEATURE_TOPMEM
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000187 bool "Topmem command ('s' key)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200188 default y
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000189 depends on TOP
190 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000191 Enable 's' in top (gives lots of memory info).
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000192
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200193config FEATURE_SHOW_THREADS
194 bool "Support for showing threads in ps/top"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200195 default y
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200196 depends on PS || TOP
197 help
198 Enables ps -T option and 'h' command in top
199
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000200config UPTIME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000201 bool "uptime"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200202 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000203 help
Eric Andersene5642112003-07-14 19:37:08 +0000204 uptime gives a one line display of the current time, how long
205 the system has been running, how many users are currently logged
206 on, and the system load averages for the past 1, 5, and 15 minutes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000207
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000208config WATCH
209 bool "watch"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200210 default y
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000211 help
212 watch is used to execute a program periodically, showing
213 output to the screen.
214
Eric Andersenc9f20d92002-12-05 08:41:41 +0000215endmenu