Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see scripts/kbuild/config-language.txt. |
| 4 | # |
| 5 | |
| 6 | menu "Process Utilities" |
| 7 | |
Denys Vlasenko | d70e0e9 | 2010-06-08 12:15:11 +0200 | [diff] [blame] | 8 | INSERT |
| 9 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 10 | config FREE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 11 | bool "free" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 12 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 13 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 14 | 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 Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 17 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 18 | config FUSER |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 19 | bool "fuser" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 20 | default y |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 21 | help |
Tim Riker | c1ef7bd | 2006-01-25 00:08:53 +0000 | [diff] [blame] | 22 | fuser lists all PIDs (Process IDs) that currently have a given |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 23 | file open. fuser can also list all PIDs that have a given network |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 24 | (TCP or UDP) port open. |
| 25 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 26 | config KILL |
Eric Andersen | 110ee23 | 2002-12-06 21:44:50 +0000 | [diff] [blame] | 27 | bool "kill" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 28 | default y |
Eric Andersen | 110ee23 | 2002-12-06 21:44:50 +0000 | [diff] [blame] | 29 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 30 | The command kill sends the specified signal to the specified |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 31 | process or process group. If no signal is specified, the TERM |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 32 | signal is sent. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 33 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 34 | config KILLALL |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 35 | bool "killall" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 36 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 37 | depends on KILL |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 38 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 39 | killall sends a signal to all processes running any of the |
Bernhard Reutner-Fischer | 3e8669f | 2008-07-22 18:27:53 +0000 | [diff] [blame] | 40 | specified commands. If no signal name is specified, SIGTERM is |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 41 | sent. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 42 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 43 | config KILLALL5 |
Denis Vlasenko | 0bb628f | 2006-09-27 14:25:33 +0000 | [diff] [blame] | 44 | bool "killall5" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 45 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 46 | depends on KILL |
Denis Vlasenko | f7996f3 | 2007-01-11 17:20:00 +0000 | [diff] [blame] | 47 | |
Denis Vlasenko | cc5e090 | 2007-06-12 08:12:33 +0000 | [diff] [blame] | 48 | config NMETER |
| 49 | bool "nmeter" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 50 | default y |
Denis Vlasenko | cc5e090 | 2007-06-12 08:12:33 +0000 | [diff] [blame] | 51 | help |
| 52 | Prints selected system stats continuously, one line per update. |
| 53 | |
Denis Vlasenko | 72e1c89 | 2007-09-29 22:26:01 +0000 | [diff] [blame] | 54 | config PGREP |
| 55 | bool "pgrep" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 56 | default y |
Denis Vlasenko | 72e1c89 | 2007-09-29 22:26:01 +0000 | [diff] [blame] | 57 | help |
| 58 | Look for processes by name. |
| 59 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 60 | config PIDOF |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 61 | bool "pidof" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 62 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 63 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 64 | Pidof finds the process id's (pids) of the named programs. It prints |
| 65 | those id's on the standard output. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 66 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 67 | config FEATURE_PIDOF_SINGLE |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 68 | bool "Enable argument for single shot (-s)" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 69 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 70 | depends on PIDOF |
Bernhard Reutner-Fischer | 81c3a51 | 2005-10-06 15:37:02 +0000 | [diff] [blame] | 71 | help |
| 72 | Support argument '-s' for returning only the first pid found. |
| 73 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 74 | config FEATURE_PIDOF_OMIT |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 75 | bool "Enable argument for omitting pids (-o)" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 76 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 77 | depends on PIDOF |
Bernhard Reutner-Fischer | 81c3a51 | 2005-10-06 15:37:02 +0000 | [diff] [blame] | 78 | 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 Vlasenko | 72e1c89 | 2007-09-29 22:26:01 +0000 | [diff] [blame] | 83 | config PKILL |
| 84 | bool "pkill" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 85 | default y |
Denis Vlasenko | 72e1c89 | 2007-09-29 22:26:01 +0000 | [diff] [blame] | 86 | help |
| 87 | Send signals to processes by name. |
| 88 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 89 | config PS |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 90 | bool "ps" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 91 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 92 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 93 | ps gives a snapshot of the current processes. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 94 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 95 | config FEATURE_PS_WIDE |
Denys Vlasenko | fca70a8 | 2009-07-03 22:16:17 +0200 | [diff] [blame] | 96 | bool "Enable wide output option (-w)" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 97 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 98 | depends on PS |
Bernhard Reutner-Fischer | 6d6a40c | 2005-10-04 14:31:18 +0000 | [diff] [blame] | 99 | help |
| 100 | Support argument 'w' for wide output. |
Denys Vlasenko | fca70a8 | 2009-07-03 22:16:17 +0200 | [diff] [blame] | 101 | If given once, 132 chars are printed, and if given more |
| 102 | than once, the length is unlimited. |
Bernhard Reutner-Fischer | 6d6a40c | 2005-10-04 14:31:18 +0000 | [diff] [blame] | 103 | |
Denis Vlasenko | 5fee2e1 | 2008-01-05 03:26:41 +0000 | [diff] [blame] | 104 | config FEATURE_PS_TIME |
| 105 | bool "Enable time and elapsed time output" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 106 | default y |
Denis Vlasenko | 5fee2e1 | 2008-01-05 03:26:41 +0000 | [diff] [blame] | 107 | depends on PS && DESKTOP |
| 108 | help |
| 109 | Support -o time and -o etime output specifiers. |
| 110 | |
Denys Vlasenko | fca70a8 | 2009-07-03 22:16:17 +0200 | [diff] [blame] | 111 | config FEATURE_PS_ADDITIONAL_COLUMNS |
| 112 | bool "Enable additional ps columns" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 113 | default y |
Denys Vlasenko | fca70a8 | 2009-07-03 22:16:17 +0200 | [diff] [blame] | 114 | depends on PS && DESKTOP |
| 115 | help |
| 116 | Support -o rgroup, -o ruser, -o nice output specifiers. |
| 117 | |
Denis Vlasenko | 5fee2e1 | 2008-01-05 03:26:41 +0000 | [diff] [blame] | 118 | config 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 Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 126 | config RENICE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 127 | bool "renice" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 128 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 129 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 130 | Renice alters the scheduling priority of one or more running |
| 131 | processes. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 132 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 133 | config BB_SYSCTL |
Mike Frysinger | d1c8ae5 | 2005-09-24 23:13:22 +0000 | [diff] [blame] | 134 | bool "sysctl" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 135 | default y |
Mike Frysinger | d1c8ae5 | 2005-09-24 23:13:22 +0000 | [diff] [blame] | 136 | help |
| 137 | Configure kernel parameters at runtime. |
| 138 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 139 | config TOP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 140 | bool "top" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 141 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 142 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 143 | The top program provides a dynamic real-time view of a running |
| 144 | system. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 145 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 146 | config FEATURE_TOP_CPU_USAGE_PERCENTAGE |
Bernhard Reutner-Fischer | a46d2b1 | 2008-09-25 11:50:13 +0000 | [diff] [blame] | 147 | bool "Show CPU per-process usage percentage" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 148 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 149 | depends on TOP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 150 | help |
Denis Vlasenko | 5a65447 | 2007-06-10 17:11:59 +0000 | [diff] [blame] | 151 | Make top display CPU usage for each process. |
Bernhard Reutner-Fischer | a46d2b1 | 2008-09-25 11:50:13 +0000 | [diff] [blame] | 152 | This adds about 2k. |
Denis Vlasenko | 5a65447 | 2007-06-10 17:11:59 +0000 | [diff] [blame] | 153 | |
| 154 | config FEATURE_TOP_CPU_GLOBAL_PERCENTS |
Bernhard Reutner-Fischer | a46d2b1 | 2008-09-25 11:50:13 +0000 | [diff] [blame] | 155 | bool "Show CPU global usage percentage" |
Denis Vlasenko | 5a65447 | 2007-06-10 17:11:59 +0000 | [diff] [blame] | 156 | default y |
| 157 | depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE |
| 158 | help |
Denis Vlasenko | b1e5add | 2007-06-10 18:04:54 +0000 | [diff] [blame] | 159 | Makes top display "CPU: NN% usr NN% sys..." line. |
Bernhard Reutner-Fischer | a46d2b1 | 2008-09-25 11:50:13 +0000 | [diff] [blame] | 160 | This adds about 0.5k. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 161 | |
Denis Vlasenko | 17e7f04 | 2008-09-25 10:48:06 +0000 | [diff] [blame] | 162 | config FEATURE_TOP_SMP_CPU |
Bernhard Reutner-Fischer | a46d2b1 | 2008-09-25 11:50:13 +0000 | [diff] [blame] | 163 | bool "SMP CPU usage display ('c' key)" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 164 | default y |
Denis Vlasenko | 17e7f04 | 2008-09-25 10:48:06 +0000 | [diff] [blame] | 165 | depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS |
| 166 | help |
Bernhard Reutner-Fischer | a46d2b1 | 2008-09-25 11:50:13 +0000 | [diff] [blame] | 167 | Allow 'c' key to switch between individual/cumulative CPU stats |
| 168 | This adds about 0.5k. |
Denis Vlasenko | 17e7f04 | 2008-09-25 10:48:06 +0000 | [diff] [blame] | 169 | |
Denis Vlasenko | 7451196 | 2007-06-11 16:31:55 +0000 | [diff] [blame] | 170 | config FEATURE_TOP_DECIMALS |
Bernhard Reutner-Fischer | a46d2b1 | 2008-09-25 11:50:13 +0000 | [diff] [blame] | 171 | bool "Show 1/10th of a percent in CPU/mem statistics" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 172 | default y |
Denis Vlasenko | 7451196 | 2007-06-11 16:31:55 +0000 | [diff] [blame] | 173 | depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE |
| 174 | help |
| 175 | Show 1/10th of a percent in CPU/mem statistics. |
Bernhard Reutner-Fischer | a46d2b1 | 2008-09-25 11:50:13 +0000 | [diff] [blame] | 176 | This adds about 0.3k. |
Denis Vlasenko | 7451196 | 2007-06-11 16:31:55 +0000 | [diff] [blame] | 177 | |
Denis Vlasenko | 17e7f04 | 2008-09-25 10:48:06 +0000 | [diff] [blame] | 178 | config FEATURE_TOP_SMP_PROCESS |
Bernhard Reutner-Fischer | a46d2b1 | 2008-09-25 11:50:13 +0000 | [diff] [blame] | 179 | bool "Show CPU process runs on ('j' field)" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 180 | default y |
Denis Vlasenko | 17e7f04 | 2008-09-25 10:48:06 +0000 | [diff] [blame] | 181 | depends on TOP |
| 182 | help |
Bernhard Reutner-Fischer | a46d2b1 | 2008-09-25 11:50:13 +0000 | [diff] [blame] | 183 | Show CPU where process was last found running on. |
| 184 | This is the 'j' field. |
Denis Vlasenko | 17e7f04 | 2008-09-25 10:48:06 +0000 | [diff] [blame] | 185 | |
Denis Vlasenko | ff6e8e2 | 2007-09-08 16:51:19 +0000 | [diff] [blame] | 186 | config FEATURE_TOPMEM |
Denis Vlasenko | 17e7f04 | 2008-09-25 10:48:06 +0000 | [diff] [blame] | 187 | bool "Topmem command ('s' key)" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 188 | default y |
Denis Vlasenko | ff6e8e2 | 2007-09-08 16:51:19 +0000 | [diff] [blame] | 189 | depends on TOP |
| 190 | help |
Bernhard Reutner-Fischer | a46d2b1 | 2008-09-25 11:50:13 +0000 | [diff] [blame] | 191 | Enable 's' in top (gives lots of memory info). |
Denis Vlasenko | ff6e8e2 | 2007-09-08 16:51:19 +0000 | [diff] [blame] | 192 | |
Denys Vlasenko | b410d4a | 2009-09-19 22:29:42 +0200 | [diff] [blame] | 193 | config FEATURE_SHOW_THREADS |
| 194 | bool "Support for showing threads in ps/top" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 195 | default y |
Denys Vlasenko | b410d4a | 2009-09-19 22:29:42 +0200 | [diff] [blame] | 196 | depends on PS || TOP |
| 197 | help |
| 198 | Enables ps -T option and 'h' command in top |
| 199 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 200 | config UPTIME |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 201 | bool "uptime" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 202 | default y |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 203 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 204 | 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 Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 207 | |
Denis Vlasenko | cc5e090 | 2007-06-12 08:12:33 +0000 | [diff] [blame] | 208 | config WATCH |
| 209 | bool "watch" |
Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 210 | default y |
Denis Vlasenko | cc5e090 | 2007-06-12 08:12:33 +0000 | [diff] [blame] | 211 | help |
| 212 | watch is used to execute a program periodically, showing |
| 213 | output to the screen. |
| 214 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 215 | endmenu |