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