blob: 585893ed8747fa79bc199e20226be1e02055104b [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
Rob Landleyaa872762005-10-28 13:05:12 +000021 file open. fuser can also list all PIDs that have a given network
22 (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
29 process or process group. If no signal is specified, the TERM
30 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
38 specified commands. If no signal name is specified, SIGTERM is
39 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
Denis Vlasenko5a654472007-06-10 17:11:59 +0000138 bool "Show CPU per-process usage percentage (adds 2k bytes)"
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.
143
144config FEATURE_TOP_CPU_GLOBAL_PERCENTS
Denis Vlasenko74511962007-06-11 16:31:55 +0000145 bool "Show CPU global usage percentage (adds 0.5k bytes)"
Denis Vlasenko5a654472007-06-10 17:11:59 +0000146 default y
147 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
148 help
Denis Vlasenkob1e5add2007-06-10 18:04:54 +0000149 Makes top display "CPU: NN% usr NN% sys..." line.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000150
Denis Vlasenko74511962007-06-11 16:31:55 +0000151config FEATURE_TOP_DECIMALS
Denis Vlasenko110967a2007-07-15 19:27:48 +0000152 bool "Show 1/10th of a percent in CPU/mem statistics (adds 0.3k bytes)"
Denis Vlasenko74511962007-06-11 16:31:55 +0000153 default n
154 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
155 help
156 Show 1/10th of a percent in CPU/mem statistics.
157
Denis Vlasenkoff6e8e22007-09-08 16:51:19 +0000158config FEATURE_TOPMEM
159 bool "topmem"
160 default n
161 depends on TOP
162 help
163 Enable 's' in top (gives lots of memory info)
164
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000165config UPTIME
Eric Andersenc9f20d92002-12-05 08:41:41 +0000166 bool "uptime"
167 default n
168 help
Eric Andersene5642112003-07-14 19:37:08 +0000169 uptime gives a one line display of the current time, how long
170 the system has been running, how many users are currently logged
171 on, and the system load averages for the past 1, 5, and 15 minutes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000172
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000173config WATCH
174 bool "watch"
175 default n
176 #huh?? select DATE
177 help
178 watch is used to execute a program periodically, showing
179 output to the screen.
180
Rob Landleyaa872762005-10-28 13:05:12 +0000181
Eric Andersenc9f20d92002-12-05 08:41:41 +0000182endmenu
183