2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Process Utilities"
13 select PLATFORM_LINUX #sysinfo()
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.
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.
31 The command kill sends the specified signal to the specified
32 process or process group. If no signal is specified, the TERM
40 killall sends a signal to all processes running any of the
41 specified commands. If no signal name is specified, SIGTERM is
53 Look for processes by name.
59 Pidof finds the process id's (pids) of the named programs. It prints
60 those id's on the standard output.
62 config FEATURE_PIDOF_SINGLE
63 bool "Enable argument for single shot (-s)"
67 Support argument '-s' for returning only the first pid found.
69 config FEATURE_PIDOF_OMIT
70 bool "Enable argument for omitting pids (-o)"
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.
82 Send signals to processes by name.
88 ps gives a snapshot of the current processes.
90 config FEATURE_PS_WIDE
91 bool "Enable wide output option (-w)"
93 depends on PS && !DESKTOP
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.
99 config FEATURE_PS_LONG
100 bool "Enable long output option (-l)"
102 depends on PS && !DESKTOP
104 Support argument 'l' for long output.
105 Adds fields PPID, RSS, START, TIME & TTY
107 config FEATURE_PS_TIME
108 bool "Enable time and elapsed time output"
110 depends on PS && DESKTOP
111 select PLATFORM_LINUX
113 Support -o time and -o etime output specifiers.
115 config FEATURE_PS_ADDITIONAL_COLUMNS
116 bool "Enable additional ps columns"
118 depends on PS && DESKTOP
120 Support -o rgroup, -o ruser, -o nice output specifiers.
122 config FEATURE_PS_UNUSUAL_SYSTEMS
123 bool "Support Linux prior to 2.4.0 and non-ELF systems"
125 depends on FEATURE_PS_TIME
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)
134 Renice alters the scheduling priority of one or more running
141 Configure kernel parameters at runtime.
147 The top program provides a dynamic real-time view of a running
150 config FEATURE_TOP_CPU_USAGE_PERCENTAGE
151 bool "Show CPU per-process usage percentage"
155 Make top display CPU usage for each process.
158 config FEATURE_TOP_CPU_GLOBAL_PERCENTS
159 bool "Show CPU global usage percentage"
161 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
163 Makes top display "CPU: NN% usr NN% sys..." line.
164 This adds about 0.5k.
166 config FEATURE_TOP_SMP_CPU
167 bool "SMP CPU usage display ('c' key)"
169 depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
171 Allow 'c' key to switch between individual/cumulative CPU stats
172 This adds about 0.5k.
174 config FEATURE_TOP_DECIMALS
175 bool "Show 1/10th of a percent in CPU/mem statistics"
177 depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
179 Show 1/10th of a percent in CPU/mem statistics.
180 This adds about 0.3k.
182 config FEATURE_TOP_SMP_PROCESS
183 bool "Show CPU process runs on ('j' field)"
187 Show CPU where process was last found running on.
188 This is the 'j' field.
190 config FEATURE_TOPMEM
191 bool "Topmem command ('s' key)"
195 Enable 's' in top (gives lots of memory info).
197 config FEATURE_SHOW_THREADS
198 bool "Support for showing threads in ps/pstree/top"
200 depends on PS || TOP || PSTREE
202 Enables the ps -T option, showing of threads in pstree,
203 and 'h' command in top.
209 watch is used to execute a program periodically, showing
210 output to the screen.