blob: 702442a524fdaecf73ea9d216c9b22fa2802c437 [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"
10 default n
11 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"
18 default n
19 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"
26 default n
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"
34 default n
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"
43 default n
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"
48 default n
49 help
50 Prints selected system stats continuously, one line per update.
51
Denis Vlasenko72e1c892007-09-29 22:26:01 +000052config PGREP
53 bool "pgrep"
54 default n
55 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"
60 default n
61 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)"
Bernhard Reutner-Fischer81c3a512005-10-06 15:37:02 +000067 default n
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)"
Bernhard Reutner-Fischer81c3a512005-10-06 15:37:02 +000074 default n
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"
83 default n
84 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"
89 default n
90 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
Rob Landley2ec922e2006-04-13 23:22:16 +000094 bool "Enable argument for wide output (-w)"
Bernhard Reutner-Fischer6d6a40c2005-10-04 14:31:18 +000095 default n
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.
99 If given once, 132 chars are printed and given more than
100 one, the length is unlimited.
101
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000102config FEATURE_PS_TIME
103 bool "Enable time and elapsed time output"
104 default n
105 depends on PS && DESKTOP
106 help
107 Support -o time and -o etime output specifiers.
108
109config FEATURE_PS_UNUSUAL_SYSTEMS
110 bool "Support Linux prior to 2.4.0 and non-ELF systems"
111 default n
112 depends on FEATURE_PS_TIME
113 help
114 Include support for measuring HZ on old kernels and non-ELF systems
115 (if you are on Linux 2.4.0+ and use ELF, you don't need this)
116
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000117config RENICE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000118 bool "renice"
119 default n
120 help
Eric Andersene5642112003-07-14 19:37:08 +0000121 Renice alters the scheduling priority of one or more running
122 processes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000123
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000124config BB_SYSCTL
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000125 bool "sysctl"
126 default n
127 help
128 Configure kernel parameters at runtime.
129
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000130config TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000131 bool "top"
132 default n
133 help
Eric Andersene5642112003-07-14 19:37:08 +0000134 The top program provides a dynamic real-time view of a running
135 system.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000136
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000137config FEATURE_TOP_CPU_USAGE_PERCENTAGE
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000138 bool "Show CPU per-process usage percentage"
Eric Andersenc9f20d92002-12-05 08:41:41 +0000139 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000140 depends on TOP
Eric Andersenc9f20d92002-12-05 08:41:41 +0000141 help
Denis Vlasenko5a654472007-06-10 17:11:59 +0000142 Make top display CPU usage for each process.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000143 This adds about 2k.
Denis Vlasenko5a654472007-06-10 17:11:59 +0000144
145config FEATURE_TOP_CPU_GLOBAL_PERCENTS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000146 bool "Show CPU global usage percentage"
Denis Vlasenko5a654472007-06-10 17:11:59 +0000147 default y
148 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
149 help
Denis Vlasenkob1e5add2007-06-10 18:04:54 +0000150 Makes top display "CPU: NN% usr NN% sys..." line.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000151 This adds about 0.5k.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000152
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000153config FEATURE_TOP_SMP_CPU
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000154 bool "SMP CPU usage display ('c' key)"
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000155 default n
156 depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
157 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000158 Allow 'c' key to switch between individual/cumulative CPU stats
159 This adds about 0.5k.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000160
Denis Vlasenko74511962007-06-11 16:31:55 +0000161config FEATURE_TOP_DECIMALS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000162 bool "Show 1/10th of a percent in CPU/mem statistics"
Denis Vlasenko74511962007-06-11 16:31:55 +0000163 default n
164 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
165 help
166 Show 1/10th of a percent in CPU/mem statistics.
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000167 This adds about 0.3k.
Denis Vlasenko74511962007-06-11 16:31:55 +0000168
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000169config FEATURE_TOP_SMP_PROCESS
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000170 bool "Show CPU process runs on ('j' field)"
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000171 default n
172 depends on TOP
173 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000174 Show CPU where process was last found running on.
175 This is the 'j' field.
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000176
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000177config FEATURE_TOPMEM
Denis Vlasenko17e7f042008-09-25 10:48:06 +0000178 bool "Topmem command ('s' key)"
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000179 default n
180 depends on TOP
181 help
Bernhard Reutner-Fischera46d2b12008-09-25 11:50:13 +0000182 Enable 's' in top (gives lots of memory info).
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000183
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000184config UPTIME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000185 bool "uptime"
186 default n
187 help
Eric Andersene5642112003-07-14 19:37:08 +0000188 uptime gives a one line display of the current time, how long
189 the system has been running, how many users are currently logged
190 on, and the system load averages for the past 1, 5, and 15 minutes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000191
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000192config WATCH
193 bool "watch"
194 default n
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000195 help
196 watch is used to execute a program periodically, showing
197 output to the screen.
198
Rob Landleyaa872762005-10-28 13:05:12 +0000199
Eric Andersenc9f20d92002-12-05 08:41:41 +0000200endmenu