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 |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 21 | file open. fuser can also list all PIDs that have a given network |
| 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 |
| 29 | process or process group. If no signal is specified, the TERM |
| 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 |
| 38 | specified commands. If no signal name is specified, SIGTERM is |
| 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 | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 102 | config RENICE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 103 | bool "renice" |
| 104 | default n |
| 105 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 106 | Renice alters the scheduling priority of one or more running |
| 107 | processes. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 108 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 109 | config BB_SYSCTL |
Mike Frysinger | d1c8ae5 | 2005-09-24 23:13:22 +0000 | [diff] [blame] | 110 | bool "sysctl" |
| 111 | default n |
| 112 | help |
| 113 | Configure kernel parameters at runtime. |
| 114 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 115 | config TOP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 116 | bool "top" |
| 117 | default n |
| 118 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 119 | The top program provides a dynamic real-time view of a running |
| 120 | system. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 121 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 122 | config FEATURE_TOP_CPU_USAGE_PERCENTAGE |
Denis Vlasenko | 5a65447 | 2007-06-10 17:11:59 +0000 | [diff] [blame] | 123 | bool "Show CPU per-process usage percentage (adds 2k bytes)" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 124 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 125 | depends on TOP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 126 | help |
Denis Vlasenko | 5a65447 | 2007-06-10 17:11:59 +0000 | [diff] [blame] | 127 | Make top display CPU usage for each process. |
| 128 | |
| 129 | config FEATURE_TOP_CPU_GLOBAL_PERCENTS |
Denis Vlasenko | 7451196 | 2007-06-11 16:31:55 +0000 | [diff] [blame] | 130 | bool "Show CPU global usage percentage (adds 0.5k bytes)" |
Denis Vlasenko | 5a65447 | 2007-06-10 17:11:59 +0000 | [diff] [blame] | 131 | default y |
| 132 | depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE |
| 133 | help |
Denis Vlasenko | b1e5add | 2007-06-10 18:04:54 +0000 | [diff] [blame] | 134 | Makes top display "CPU: NN% usr NN% sys..." line. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 135 | |
Denis Vlasenko | 7451196 | 2007-06-11 16:31:55 +0000 | [diff] [blame] | 136 | config FEATURE_TOP_DECIMALS |
Denis Vlasenko | 110967a | 2007-07-15 19:27:48 +0000 | [diff] [blame] | 137 | bool "Show 1/10th of a percent in CPU/mem statistics (adds 0.3k bytes)" |
Denis Vlasenko | 7451196 | 2007-06-11 16:31:55 +0000 | [diff] [blame] | 138 | default n |
| 139 | depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE |
| 140 | help |
| 141 | Show 1/10th of a percent in CPU/mem statistics. |
| 142 | |
Denis Vlasenko | ff6e8e2 | 2007-09-08 16:51:19 +0000 | [diff] [blame] | 143 | config FEATURE_TOPMEM |
| 144 | bool "topmem" |
| 145 | default n |
| 146 | depends on TOP |
| 147 | help |
| 148 | Enable 's' in top (gives lots of memory info) |
| 149 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 150 | config UPTIME |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 151 | bool "uptime" |
| 152 | default n |
| 153 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 154 | uptime gives a one line display of the current time, how long |
| 155 | the system has been running, how many users are currently logged |
| 156 | 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] | 157 | |
Denis Vlasenko | cc5e090 | 2007-06-12 08:12:33 +0000 | [diff] [blame] | 158 | config WATCH |
| 159 | bool "watch" |
| 160 | default n |
| 161 | #huh?? select DATE |
| 162 | help |
| 163 | watch is used to execute a program periodically, showing |
| 164 | output to the screen. |
| 165 | |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 166 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 167 | endmenu |
| 168 | |