lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [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 | |
| 8 | INSERT |
| 9 | |
| 10 | config FREE |
| 11 | bool "free" |
| 12 | default y |
| 13 | select PLATFORM_LINUX #sysinfo() |
| 14 | help |
| 15 | free displays the total amount of free and used physical and swap |
| 16 | memory in the system, as well as the buffers used by the kernel. |
| 17 | The shared memory column should be ignored; it is obsolete. |
| 18 | |
| 19 | config FUSER |
| 20 | bool "fuser" |
| 21 | default y |
| 22 | help |
| 23 | fuser lists all PIDs (Process IDs) that currently have a given |
| 24 | file open. fuser can also list all PIDs that have a given network |
| 25 | (TCP or UDP) port open. |
| 26 | |
| 27 | config KILL |
| 28 | bool "kill" |
| 29 | default y |
| 30 | help |
| 31 | The command kill sends the specified signal to the specified |
| 32 | process or process group. If no signal is specified, the TERM |
| 33 | signal is sent. |
| 34 | |
| 35 | config KILLALL |
| 36 | bool "killall" |
| 37 | default y |
| 38 | depends on KILL |
| 39 | help |
| 40 | killall sends a signal to all processes running any of the |
| 41 | specified commands. If no signal name is specified, SIGTERM is |
| 42 | sent. |
| 43 | |
| 44 | config KILLALL5 |
| 45 | bool "killall5" |
| 46 | default y |
| 47 | depends on KILL |
| 48 | |
| 49 | config PGREP |
| 50 | bool "pgrep" |
| 51 | default y |
| 52 | help |
| 53 | Look for processes by name. |
| 54 | |
| 55 | config PIDOF |
| 56 | bool "pidof" |
| 57 | default y |
| 58 | help |
| 59 | Pidof finds the process id's (pids) of the named programs. It prints |
| 60 | those id's on the standard output. |
| 61 | |
| 62 | config FEATURE_PIDOF_SINGLE |
| 63 | bool "Enable argument for single shot (-s)" |
| 64 | default y |
| 65 | depends on PIDOF |
| 66 | help |
| 67 | Support argument '-s' for returning only the first pid found. |
| 68 | |
| 69 | config FEATURE_PIDOF_OMIT |
| 70 | bool "Enable argument for omitting pids (-o)" |
| 71 | default y |
| 72 | depends on PIDOF |
| 73 | help |
| 74 | Support argument '-o' for omitting the given pids in output. |
| 75 | The special pid %PPID can be used to name the parent process |
| 76 | of the pidof, in other words the calling shell or shell script. |
| 77 | |
| 78 | config PKILL |
| 79 | bool "pkill" |
| 80 | default y |
| 81 | help |
| 82 | Send signals to processes by name. |
| 83 | |
| 84 | config PS |
| 85 | bool "ps" |
| 86 | default y |
| 87 | help |
| 88 | ps gives a snapshot of the current processes. |
| 89 | |
| 90 | config FEATURE_PS_WIDE |
| 91 | bool "Enable wide output option (-w)" |
| 92 | default y |
| 93 | depends on PS && !DESKTOP |
| 94 | help |
| 95 | Support argument 'w' for wide output. |
| 96 | If given once, 132 chars are printed, and if given more |
| 97 | than once, the length is unlimited. |
| 98 | |
| 99 | config FEATURE_PS_LONG |
| 100 | bool "Enable long output option (-l)" |
| 101 | default y |
| 102 | depends on PS && !DESKTOP |
| 103 | help |
| 104 | Support argument 'l' for long output. |
| 105 | Adds fields PPID, RSS, START, TIME & TTY |
| 106 | |
| 107 | config FEATURE_PS_TIME |
| 108 | bool "Enable time and elapsed time output" |
| 109 | default y |
| 110 | depends on PS && DESKTOP |
| 111 | select PLATFORM_LINUX |
| 112 | help |
| 113 | Support -o time and -o etime output specifiers. |
| 114 | |
| 115 | config FEATURE_PS_ADDITIONAL_COLUMNS |
| 116 | bool "Enable additional ps columns" |
| 117 | default y |
| 118 | depends on PS && DESKTOP |
| 119 | help |
| 120 | Support -o rgroup, -o ruser, -o nice output specifiers. |
| 121 | |
| 122 | config FEATURE_PS_UNUSUAL_SYSTEMS |
| 123 | bool "Support Linux prior to 2.4.0 and non-ELF systems" |
| 124 | default n |
| 125 | depends on FEATURE_PS_TIME |
| 126 | help |
| 127 | Include support for measuring HZ on old kernels and non-ELF systems |
| 128 | (if you are on Linux 2.4.0+ and use ELF, you don't need this) |
| 129 | |
| 130 | config RENICE |
| 131 | bool "renice" |
| 132 | default y |
| 133 | help |
| 134 | Renice alters the scheduling priority of one or more running |
| 135 | processes. |
| 136 | |
| 137 | config BB_SYSCTL |
| 138 | bool "sysctl" |
| 139 | default y |
| 140 | help |
| 141 | Configure kernel parameters at runtime. |
| 142 | |
| 143 | config FEATURE_SHOW_THREADS |
| 144 | bool "Support for showing threads in ps/pstree/top" |
| 145 | default y |
| 146 | depends on PS || TOP || PSTREE |
| 147 | help |
| 148 | Enables the ps -T option, showing of threads in pstree, |
| 149 | and 'h' command in top. |
| 150 | |
| 151 | config WATCH |
| 152 | bool "watch" |
| 153 | default y |
| 154 | help |
| 155 | watch is used to execute a program periodically, showing |
| 156 | output to the screen. |
| 157 | |
| 158 | endmenu |