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 | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 52 | config PIDOF |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 53 | bool "pidof" |
| 54 | default n |
| 55 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 56 | Pidof finds the process id's (pids) of the named programs. It prints |
| 57 | those id's on the standard output. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 58 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 59 | config FEATURE_PIDOF_SINGLE |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 60 | bool "Enable argument for single shot (-s)" |
Bernhard Reutner-Fischer | 81c3a51 | 2005-10-06 15:37:02 +0000 | [diff] [blame] | 61 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 62 | depends on PIDOF |
Bernhard Reutner-Fischer | 81c3a51 | 2005-10-06 15:37:02 +0000 | [diff] [blame] | 63 | help |
| 64 | Support argument '-s' for returning only the first pid found. |
| 65 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 66 | config FEATURE_PIDOF_OMIT |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 67 | bool "Enable argument for omitting pids (-o)" |
Bernhard Reutner-Fischer | 81c3a51 | 2005-10-06 15:37:02 +0000 | [diff] [blame] | 68 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 69 | depends on PIDOF |
Bernhard Reutner-Fischer | 81c3a51 | 2005-10-06 15:37:02 +0000 | [diff] [blame] | 70 | help |
| 71 | Support argument '-o' for omitting the given pids in output. |
| 72 | The special pid %PPID can be used to name the parent process |
| 73 | of the pidof, in other words the calling shell or shell script. |
| 74 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 75 | config PS |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 76 | bool "ps" |
| 77 | default n |
| 78 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 79 | ps gives a snapshot of the current processes. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 80 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 81 | config FEATURE_PS_WIDE |
Rob Landley | 2ec922e | 2006-04-13 23:22:16 +0000 | [diff] [blame] | 82 | bool "Enable argument for wide output (-w)" |
Bernhard Reutner-Fischer | 6d6a40c | 2005-10-04 14:31:18 +0000 | [diff] [blame] | 83 | default n |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 84 | depends on PS |
Bernhard Reutner-Fischer | 6d6a40c | 2005-10-04 14:31:18 +0000 | [diff] [blame] | 85 | help |
| 86 | Support argument 'w' for wide output. |
| 87 | If given once, 132 chars are printed and given more than |
| 88 | one, the length is unlimited. |
| 89 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 90 | config RENICE |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 91 | bool "renice" |
| 92 | default n |
| 93 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 94 | Renice alters the scheduling priority of one or more running |
| 95 | processes. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 96 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 97 | config BB_SYSCTL |
Mike Frysinger | d1c8ae5 | 2005-09-24 23:13:22 +0000 | [diff] [blame] | 98 | bool "sysctl" |
| 99 | default n |
| 100 | help |
| 101 | Configure kernel parameters at runtime. |
| 102 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 103 | config TOP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 104 | bool "top" |
| 105 | default n |
| 106 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 107 | The top program provides a dynamic real-time view of a running |
| 108 | system. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 109 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 110 | config FEATURE_TOP_CPU_USAGE_PERCENTAGE |
Denis Vlasenko | 5a65447 | 2007-06-10 17:11:59 +0000 | [diff] [blame] | 111 | bool "Show CPU per-process usage percentage (adds 2k bytes)" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 112 | default y |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 113 | depends on TOP |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 114 | help |
Denis Vlasenko | 5a65447 | 2007-06-10 17:11:59 +0000 | [diff] [blame] | 115 | Make top display CPU usage for each process. |
| 116 | |
| 117 | config FEATURE_TOP_CPU_GLOBAL_PERCENTS |
Denis Vlasenko | 7451196 | 2007-06-11 16:31:55 +0000 | [diff] [blame] | 118 | bool "Show CPU global usage percentage (adds 0.5k bytes)" |
Denis Vlasenko | 5a65447 | 2007-06-10 17:11:59 +0000 | [diff] [blame] | 119 | default y |
| 120 | depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE |
| 121 | help |
Denis Vlasenko | b1e5add | 2007-06-10 18:04:54 +0000 | [diff] [blame] | 122 | Makes top display "CPU: NN% usr NN% sys..." line. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 123 | |
Denis Vlasenko | 7451196 | 2007-06-11 16:31:55 +0000 | [diff] [blame] | 124 | config FEATURE_TOP_DECIMALS |
| 125 | bool "Show 1/10th of a percent in CPU/mem statistics (adds 0.5k bytes)" |
| 126 | default n |
| 127 | depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE |
| 128 | help |
| 129 | Show 1/10th of a percent in CPU/mem statistics. |
| 130 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 131 | config UPTIME |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 132 | bool "uptime" |
| 133 | default n |
| 134 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 135 | uptime gives a one line display of the current time, how long |
| 136 | the system has been running, how many users are currently logged |
| 137 | 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] | 138 | |
Denis Vlasenko | cc5e090 | 2007-06-12 08:12:33 +0000 | [diff] [blame] | 139 | config WATCH |
| 140 | bool "watch" |
| 141 | default n |
| 142 | #huh?? select DATE |
| 143 | help |
| 144 | watch is used to execute a program periodically, showing |
| 145 | output to the screen. |
| 146 | |
Rob Landley | aa87276 | 2005-10-28 13:05:12 +0000 | [diff] [blame] | 147 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 148 | endmenu |
| 149 | |