2002-12-05 14:11:41 +05:30
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see scripts/kbuild/config-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
menu "Process Utilities"
|
|
|
|
|
2010-06-08 15:45:11 +05:30
|
|
|
INSERT
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FREE
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "free"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2010-07-19 04:14:56 +05:30
|
|
|
depends on PLATFORM_LINUX #sysinfo()
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-07-15 01:07:08 +05:30
|
|
|
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 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FUSER
|
2005-10-28 18:35:12 +05:30
|
|
|
bool "fuser"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2005-10-28 18:35:12 +05:30
|
|
|
help
|
2006-01-25 05:38:53 +05:30
|
|
|
fuser lists all PIDs (Process IDs) that currently have a given
|
2008-07-22 23:57:53 +05:30
|
|
|
file open. fuser can also list all PIDs that have a given network
|
2005-10-28 18:35:12 +05:30
|
|
|
(TCP or UDP) port open.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config KILL
|
2002-12-07 03:14:50 +05:30
|
|
|
bool "kill"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2002-12-07 03:14:50 +05:30
|
|
|
help
|
2003-07-15 01:07:08 +05:30
|
|
|
The command kill sends the specified signal to the specified
|
2008-07-22 23:57:53 +05:30
|
|
|
process or process group. If no signal is specified, the TERM
|
2003-07-15 01:07:08 +05:30
|
|
|
signal is sent.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config KILLALL
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "killall"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on KILL
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-07-15 01:07:08 +05:30
|
|
|
killall sends a signal to all processes running any of the
|
2008-07-22 23:57:53 +05:30
|
|
|
specified commands. If no signal name is specified, SIGTERM is
|
2003-07-15 01:07:08 +05:30
|
|
|
sent.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config KILLALL5
|
2006-09-27 19:55:33 +05:30
|
|
|
bool "killall5"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on KILL
|
2007-01-11 22:50:00 +05:30
|
|
|
|
2007-09-30 03:56:01 +05:30
|
|
|
config PGREP
|
|
|
|
bool "pgrep"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2007-09-30 03:56:01 +05:30
|
|
|
help
|
|
|
|
Look for processes by name.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config PIDOF
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "pidof"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-07-15 01:07:08 +05:30
|
|
|
Pidof finds the process id's (pids) of the named programs. It prints
|
|
|
|
those id's on the standard output.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_PIDOF_SINGLE
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable argument for single shot (-s)"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on PIDOF
|
2005-10-06 21:07:02 +05:30
|
|
|
help
|
|
|
|
Support argument '-s' for returning only the first pid found.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_PIDOF_OMIT
|
2006-04-14 04:52:16 +05:30
|
|
|
bool "Enable argument for omitting pids (-o)"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on PIDOF
|
2005-10-06 21:07:02 +05:30
|
|
|
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-30 03:56:01 +05:30
|
|
|
config PKILL
|
|
|
|
bool "pkill"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2007-09-30 03:56:01 +05:30
|
|
|
help
|
|
|
|
Send signals to processes by name.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config PS
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "ps"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-07-15 01:07:08 +05:30
|
|
|
ps gives a snapshot of the current processes.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_PS_WIDE
|
2009-07-04 01:46:17 +05:30
|
|
|
bool "Enable wide output option (-w)"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on PS
|
2005-10-04 20:01:18 +05:30
|
|
|
help
|
|
|
|
Support argument 'w' for wide output.
|
2009-07-04 01:46:17 +05:30
|
|
|
If given once, 132 chars are printed, and if given more
|
|
|
|
than once, the length is unlimited.
|
2005-10-04 20:01:18 +05:30
|
|
|
|
2008-01-05 08:56:41 +05:30
|
|
|
config FEATURE_PS_TIME
|
|
|
|
bool "Enable time and elapsed time output"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2010-07-19 04:14:56 +05:30
|
|
|
depends on PS && DESKTOP && PLATFORM_LINUX #sysinfo()
|
2008-01-05 08:56:41 +05:30
|
|
|
help
|
|
|
|
Support -o time and -o etime output specifiers.
|
|
|
|
|
2009-07-04 01:46:17 +05:30
|
|
|
config FEATURE_PS_ADDITIONAL_COLUMNS
|
|
|
|
bool "Enable additional ps columns"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2009-07-04 01:46:17 +05:30
|
|
|
depends on PS && DESKTOP
|
|
|
|
help
|
|
|
|
Support -o rgroup, -o ruser, -o nice output specifiers.
|
|
|
|
|
2008-01-05 08:56:41 +05:30
|
|
|
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 15:47:08 +05:30
|
|
|
config RENICE
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "renice"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-07-15 01:07:08 +05:30
|
|
|
Renice alters the scheduling priority of one or more running
|
|
|
|
processes.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config BB_SYSCTL
|
2005-09-25 04:43:22 +05:30
|
|
|
bool "sysctl"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2005-09-25 04:43:22 +05:30
|
|
|
help
|
|
|
|
Configure kernel parameters at runtime.
|
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config TOP
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "top"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-07-15 01:07:08 +05:30
|
|
|
The top program provides a dynamic real-time view of a running
|
|
|
|
system.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
2008-09-25 17:20:13 +05:30
|
|
|
bool "Show CPU per-process usage percentage"
|
2002-12-05 14:11:41 +05:30
|
|
|
default y
|
2006-10-05 15:47:08 +05:30
|
|
|
depends on TOP
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2007-06-10 22:41:59 +05:30
|
|
|
Make top display CPU usage for each process.
|
2008-09-25 17:20:13 +05:30
|
|
|
This adds about 2k.
|
2007-06-10 22:41:59 +05:30
|
|
|
|
|
|
|
config FEATURE_TOP_CPU_GLOBAL_PERCENTS
|
2008-09-25 17:20:13 +05:30
|
|
|
bool "Show CPU global usage percentage"
|
2007-06-10 22:41:59 +05:30
|
|
|
default y
|
|
|
|
depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
|
|
|
help
|
2007-06-10 23:34:54 +05:30
|
|
|
Makes top display "CPU: NN% usr NN% sys..." line.
|
2008-09-25 17:20:13 +05:30
|
|
|
This adds about 0.5k.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2008-09-25 16:18:06 +05:30
|
|
|
config FEATURE_TOP_SMP_CPU
|
2008-09-25 17:20:13 +05:30
|
|
|
bool "SMP CPU usage display ('c' key)"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2008-09-25 16:18:06 +05:30
|
|
|
depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
|
|
|
|
help
|
2008-09-25 17:20:13 +05:30
|
|
|
Allow 'c' key to switch between individual/cumulative CPU stats
|
|
|
|
This adds about 0.5k.
|
2008-09-25 16:18:06 +05:30
|
|
|
|
2007-06-11 22:01:55 +05:30
|
|
|
config FEATURE_TOP_DECIMALS
|
2008-09-25 17:20:13 +05:30
|
|
|
bool "Show 1/10th of a percent in CPU/mem statistics"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2007-06-11 22:01:55 +05:30
|
|
|
depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
|
|
|
help
|
|
|
|
Show 1/10th of a percent in CPU/mem statistics.
|
2008-09-25 17:20:13 +05:30
|
|
|
This adds about 0.3k.
|
2007-06-11 22:01:55 +05:30
|
|
|
|
2008-09-25 16:18:06 +05:30
|
|
|
config FEATURE_TOP_SMP_PROCESS
|
2008-09-25 17:20:13 +05:30
|
|
|
bool "Show CPU process runs on ('j' field)"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2008-09-25 16:18:06 +05:30
|
|
|
depends on TOP
|
|
|
|
help
|
2008-09-25 17:20:13 +05:30
|
|
|
Show CPU where process was last found running on.
|
|
|
|
This is the 'j' field.
|
2008-09-25 16:18:06 +05:30
|
|
|
|
2007-09-08 22:21:19 +05:30
|
|
|
config FEATURE_TOPMEM
|
2008-09-25 16:18:06 +05:30
|
|
|
bool "Topmem command ('s' key)"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2007-09-08 22:21:19 +05:30
|
|
|
depends on TOP
|
|
|
|
help
|
2008-09-25 17:20:13 +05:30
|
|
|
Enable 's' in top (gives lots of memory info).
|
2007-09-08 22:21:19 +05:30
|
|
|
|
2009-09-20 01:59:42 +05:30
|
|
|
config FEATURE_SHOW_THREADS
|
2010-12-08 22:30:26 +05:30
|
|
|
bool "Support for showing threads in ps/pstree/top"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2010-12-08 22:30:26 +05:30
|
|
|
depends on PS || TOP || PSTREE
|
2009-09-20 01:59:42 +05:30
|
|
|
help
|
2010-12-08 22:30:26 +05:30
|
|
|
Enables the ps -T option, showing of threads in pstree,
|
|
|
|
and 'h' command in top.
|
2009-09-20 01:59:42 +05:30
|
|
|
|
2006-10-05 15:47:08 +05:30
|
|
|
config UPTIME
|
2002-12-05 14:11:41 +05:30
|
|
|
bool "uptime"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2010-07-19 04:14:56 +05:30
|
|
|
depends on PLATFORM_LINUX #sysinfo()
|
2002-12-05 14:11:41 +05:30
|
|
|
help
|
2003-07-15 01:07:08 +05:30
|
|
|
uptime gives a one line display of the current time, how long
|
|
|
|
the system has been running, how many users are currently logged
|
|
|
|
on, and the system load averages for the past 1, 5, and 15 minutes.
|
2002-12-05 14:11:41 +05:30
|
|
|
|
2007-06-12 13:42:33 +05:30
|
|
|
config WATCH
|
|
|
|
bool "watch"
|
2010-06-06 07:44:28 +05:30
|
|
|
default y
|
2007-06-12 13:42:33 +05:30
|
|
|
help
|
|
|
|
watch is used to execute a program periodically, showing
|
|
|
|
output to the screen.
|
|
|
|
|
2002-12-05 14:11:41 +05:30
|
|
|
endmenu
|