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