2002-12-05 08:41:41 +00:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see scripts/kbuild/config-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "Process Utilities"
|
|
|
|
|
2010-06-08 10:15:11 +00:00
|
|
|
INSERT
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FREE
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "free"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2011-02-26 21:24:08 +00:00
|
|
|
select PLATFORM_LINUX #sysinfo()
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-07-14 19:37:08 +00:00
|
|
|
free displays the total amount of free and used physical and swap
|
|
|
|
memory in the system, as well as the buffers used by the kernel.
|
|
|
|
The shared memory column should be ignored; it is obsolete.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FUSER
|
2005-10-28 13:05:12 +00:00
|
|
|
bool "fuser"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2005-10-28 13:05:12 +00:00
|
|
|
help
|
2006-01-25 00:08:53 +00:00
|
|
|
fuser lists all PIDs (Process IDs) that currently have a given
|
2008-07-22 18:27:53 +00:00
|
|
|
file open. fuser can also list all PIDs that have a given network
|
2005-10-28 13:05:12 +00:00
|
|
|
(TCP or UDP) port open.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config KILL
|
2002-12-06 21:44:50 +00:00
|
|
|
bool "kill"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2002-12-06 21:44:50 +00:00
|
|
|
help
|
2003-07-14 19:37:08 +00:00
|
|
|
The command kill sends the specified signal to the specified
|
2008-07-22 18:27:53 +00:00
|
|
|
process or process group. If no signal is specified, the TERM
|
2003-07-14 19:37:08 +00:00
|
|
|
signal is sent.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config KILLALL
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "killall"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on KILL
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-07-14 19:37:08 +00:00
|
|
|
killall sends a signal to all processes running any of the
|
2008-07-22 18:27:53 +00:00
|
|
|
specified commands. If no signal name is specified, SIGTERM is
|
2003-07-14 19:37:08 +00:00
|
|
|
sent.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config KILLALL5
|
2006-09-27 14:25:33 +00:00
|
|
|
bool "killall5"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on KILL
|
2007-01-11 17:20:00 +00:00
|
|
|
|
2007-09-29 22:26:01 +00:00
|
|
|
config PGREP
|
|
|
|
bool "pgrep"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2007-09-29 22:26:01 +00:00
|
|
|
help
|
|
|
|
Look for processes by name.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config PIDOF
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "pidof"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-07-14 19:37:08 +00:00
|
|
|
Pidof finds the process id's (pids) of the named programs. It prints
|
|
|
|
those id's on the standard output.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_PIDOF_SINGLE
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Enable argument for single shot (-s)"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on PIDOF
|
2005-10-06 15:37:02 +00:00
|
|
|
help
|
|
|
|
Support argument '-s' for returning only the first pid found.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_PIDOF_OMIT
|
2006-04-13 23:22:16 +00:00
|
|
|
bool "Enable argument for omitting pids (-o)"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on PIDOF
|
2005-10-06 15:37:02 +00:00
|
|
|
help
|
|
|
|
Support argument '-o' for omitting the given pids in output.
|
|
|
|
The special pid %PPID can be used to name the parent process
|
|
|
|
of the pidof, in other words the calling shell or shell script.
|
|
|
|
|
2007-09-29 22:26:01 +00:00
|
|
|
config PKILL
|
|
|
|
bool "pkill"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2007-09-29 22:26:01 +00:00
|
|
|
help
|
|
|
|
Send signals to processes by name.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config PS
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "ps"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-07-14 19:37:08 +00:00
|
|
|
ps gives a snapshot of the current processes.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_PS_WIDE
|
2009-07-03 20:16:17 +00:00
|
|
|
bool "Enable wide output option (-w)"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2011-09-26 00:56:08 +00:00
|
|
|
depends on PS && !DESKTOP
|
2005-10-04 14:31:18 +00:00
|
|
|
help
|
|
|
|
Support argument 'w' for wide output.
|
2009-07-03 20:16:17 +00:00
|
|
|
If given once, 132 chars are printed, and if given more
|
|
|
|
than once, the length is unlimited.
|
2005-10-04 14:31:18 +00:00
|
|
|
|
2011-09-26 00:56:08 +00:00
|
|
|
config FEATURE_PS_LONG
|
|
|
|
bool "Enable long output option (-l)"
|
|
|
|
default y
|
|
|
|
depends on PS && !DESKTOP
|
|
|
|
help
|
|
|
|
Support argument 'l' for long output.
|
|
|
|
Adds fields PPID, RSS, START, TIME & TTY
|
|
|
|
|
2008-01-05 03:26:41 +00:00
|
|
|
config FEATURE_PS_TIME
|
|
|
|
bool "Enable time and elapsed time output"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2011-02-26 21:24:08 +00:00
|
|
|
depends on PS && DESKTOP
|
|
|
|
select PLATFORM_LINUX
|
2008-01-05 03:26:41 +00:00
|
|
|
help
|
|
|
|
Support -o time and -o etime output specifiers.
|
|
|
|
|
2009-07-03 20:16:17 +00:00
|
|
|
config FEATURE_PS_ADDITIONAL_COLUMNS
|
|
|
|
bool "Enable additional ps columns"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2009-07-03 20:16:17 +00:00
|
|
|
depends on PS && DESKTOP
|
|
|
|
help
|
|
|
|
Support -o rgroup, -o ruser, -o nice output specifiers.
|
|
|
|
|
2008-01-05 03:26:41 +00:00
|
|
|
config FEATURE_PS_UNUSUAL_SYSTEMS
|
|
|
|
bool "Support Linux prior to 2.4.0 and non-ELF systems"
|
|
|
|
default n
|
|
|
|
depends on FEATURE_PS_TIME
|
|
|
|
help
|
|
|
|
Include support for measuring HZ on old kernels and non-ELF systems
|
|
|
|
(if you are on Linux 2.4.0+ and use ELF, you don't need this)
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config RENICE
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "renice"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-07-14 19:37:08 +00:00
|
|
|
Renice alters the scheduling priority of one or more running
|
|
|
|
processes.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config BB_SYSCTL
|
2005-09-24 23:13:22 +00:00
|
|
|
bool "sysctl"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2005-09-24 23:13:22 +00:00
|
|
|
help
|
|
|
|
Configure kernel parameters at runtime.
|
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config TOP
|
2002-12-05 08:41:41 +00:00
|
|
|
bool "top"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2003-07-14 19:37:08 +00:00
|
|
|
The top program provides a dynamic real-time view of a running
|
|
|
|
system.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2006-10-05 10:17:08 +00:00
|
|
|
config FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
2008-09-25 11:50:13 +00:00
|
|
|
bool "Show CPU per-process usage percentage"
|
2002-12-05 08:41:41 +00:00
|
|
|
default y
|
2006-10-05 10:17:08 +00:00
|
|
|
depends on TOP
|
2002-12-05 08:41:41 +00:00
|
|
|
help
|
2007-06-10 17:11:59 +00:00
|
|
|
Make top display CPU usage for each process.
|
2008-09-25 11:50:13 +00:00
|
|
|
This adds about 2k.
|
2007-06-10 17:11:59 +00:00
|
|
|
|
|
|
|
config FEATURE_TOP_CPU_GLOBAL_PERCENTS
|
2008-09-25 11:50:13 +00:00
|
|
|
bool "Show CPU global usage percentage"
|
2007-06-10 17:11:59 +00:00
|
|
|
default y
|
|
|
|
depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
|
|
|
help
|
2007-06-10 18:04:54 +00:00
|
|
|
Makes top display "CPU: NN% usr NN% sys..." line.
|
2008-09-25 11:50:13 +00:00
|
|
|
This adds about 0.5k.
|
2002-12-05 08:41:41 +00:00
|
|
|
|
2008-09-25 10:48:06 +00:00
|
|
|
config FEATURE_TOP_SMP_CPU
|
2008-09-25 11:50:13 +00:00
|
|
|
bool "SMP CPU usage display ('c' key)"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2008-09-25 10:48:06 +00:00
|
|
|
depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
|
|
|
|
help
|
2008-09-25 11:50:13 +00:00
|
|
|
Allow 'c' key to switch between individual/cumulative CPU stats
|
|
|
|
This adds about 0.5k.
|
2008-09-25 10:48:06 +00:00
|
|
|
|
2007-06-11 16:31:55 +00:00
|
|
|
config FEATURE_TOP_DECIMALS
|
2008-09-25 11:50:13 +00:00
|
|
|
bool "Show 1/10th of a percent in CPU/mem statistics"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2007-06-11 16:31:55 +00:00
|
|
|
depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
|
|
|
help
|
|
|
|
Show 1/10th of a percent in CPU/mem statistics.
|
2008-09-25 11:50:13 +00:00
|
|
|
This adds about 0.3k.
|
2007-06-11 16:31:55 +00:00
|
|
|
|
2008-09-25 10:48:06 +00:00
|
|
|
config FEATURE_TOP_SMP_PROCESS
|
2008-09-25 11:50:13 +00:00
|
|
|
bool "Show CPU process runs on ('j' field)"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2008-09-25 10:48:06 +00:00
|
|
|
depends on TOP
|
|
|
|
help
|
2008-09-25 11:50:13 +00:00
|
|
|
Show CPU where process was last found running on.
|
|
|
|
This is the 'j' field.
|
2008-09-25 10:48:06 +00:00
|
|
|
|
2007-09-08 16:51:19 +00:00
|
|
|
config FEATURE_TOPMEM
|
2008-09-25 10:48:06 +00:00
|
|
|
bool "Topmem command ('s' key)"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2007-09-08 16:51:19 +00:00
|
|
|
depends on TOP
|
|
|
|
help
|
2008-09-25 11:50:13 +00:00
|
|
|
Enable 's' in top (gives lots of memory info).
|
2007-09-08 16:51:19 +00:00
|
|
|
|
2009-09-19 20:29:42 +00:00
|
|
|
config FEATURE_SHOW_THREADS
|
2010-12-08 17:00:26 +00:00
|
|
|
bool "Support for showing threads in ps/pstree/top"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2010-12-08 17:00:26 +00:00
|
|
|
depends on PS || TOP || PSTREE
|
2009-09-19 20:29:42 +00:00
|
|
|
help
|
2010-12-08 17:00:26 +00:00
|
|
|
Enables the ps -T option, showing of threads in pstree,
|
|
|
|
and 'h' command in top.
|
2009-09-19 20:29:42 +00:00
|
|
|
|
2007-06-12 08:12:33 +00:00
|
|
|
config WATCH
|
|
|
|
bool "watch"
|
2010-06-06 02:14:28 +00:00
|
|
|
default y
|
2007-06-12 08:12:33 +00:00
|
|
|
help
|
|
|
|
watch is used to execute a program periodically, showing
|
|
|
|
output to the screen.
|
|
|
|
|
2002-12-05 08:41:41 +00:00
|
|
|
endmenu
|