blob: 527d9ee0c40c5abf66837f1cd3807c65fe3f88eb [file] [log] [blame]
Eric Andersenc9f20d92002-12-05 08:41:41 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Process Utilities"
7
Denys Vlasenkod70e0e92010-06-08 12:15:11 +02008INSERT
9
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000010config FREE
Eric Andersenc9f20d92002-12-05 08:41:41 +000011 bool "free"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020012 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +010013 select PLATFORM_LINUX #sysinfo()
Eric Andersenc9f20d92002-12-05 08:41:41 +000014 help
Eric Andersene5642112003-07-14 19:37:08 +000015 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.
Eric Andersenc9f20d92002-12-05 08:41:41 +000018
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000019config FUSER
Rob Landleyaa872762005-10-28 13:05:12 +000020 bool "fuser"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020021 default y
Rob Landleyaa872762005-10-28 13:05:12 +000022 help
Tim Rikerc1ef7bd2006-01-25 00:08:53 +000023 fuser lists all PIDs (Process IDs) that currently have a given
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000024 file open. fuser can also list all PIDs that have a given network
Rob Landleyaa872762005-10-28 13:05:12 +000025 (TCP or UDP) port open.
26
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000027config KILL
Eric Andersen110ee232002-12-06 21:44:50 +000028 bool "kill"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020029 default y
Eric Andersen110ee232002-12-06 21:44:50 +000030 help
Eric Andersene5642112003-07-14 19:37:08 +000031 The command kill sends the specified signal to the specified
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000032 process or process group. If no signal is specified, the TERM
Eric Andersene5642112003-07-14 19:37:08 +000033 signal is sent.
Eric Andersenc9f20d92002-12-05 08:41:41 +000034
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000035config KILLALL
Eric Andersenc9f20d92002-12-05 08:41:41 +000036 bool "killall"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020037 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000038 depends on KILL
Eric Andersenc9f20d92002-12-05 08:41:41 +000039 help
Eric Andersene5642112003-07-14 19:37:08 +000040 killall sends a signal to all processes running any of the
Bernhard Reutner-Fischer3e8669f2008-07-22 18:27:53 +000041 specified commands. If no signal name is specified, SIGTERM is
Eric Andersene5642112003-07-14 19:37:08 +000042 sent.
Eric Andersenc9f20d92002-12-05 08:41:41 +000043
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000044config KILLALL5
Denis Vlasenko0bb628f2006-09-27 14:25:33 +000045 bool "killall5"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020046 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000047 depends on KILL
Denis Vlasenkof7996f32007-01-11 17:20:00 +000048
Denis Vlasenko72e1c892007-09-29 22:26:01 +000049config PGREP
50 bool "pgrep"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020051 default y
Denis Vlasenko72e1c892007-09-29 22:26:01 +000052 help
53 Look for processes by name.
54
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000055config PIDOF
Eric Andersenc9f20d92002-12-05 08:41:41 +000056 bool "pidof"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020057 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000058 help
Eric Andersene5642112003-07-14 19:37:08 +000059 Pidof finds the process id's (pids) of the named programs. It prints
60 those id's on the standard output.
Eric Andersenc9f20d92002-12-05 08:41:41 +000061
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000062config FEATURE_PIDOF_SINGLE
Rob Landley2ec922e2006-04-13 23:22:16 +000063 bool "Enable argument for single shot (-s)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020064 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000065 depends on PIDOF
Bernhard Reutner-Fischer81c3a512005-10-06 15:37:02 +000066 help
67 Support argument '-s' for returning only the first pid found.
68
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000069config FEATURE_PIDOF_OMIT
Rob Landley2ec922e2006-04-13 23:22:16 +000070 bool "Enable argument for omitting pids (-o)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020071 default y
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000072 depends on PIDOF
Bernhard Reutner-Fischer81c3a512005-10-06 15:37:02 +000073 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
Denis Vlasenko72e1c892007-09-29 22:26:01 +000078config PKILL
79 bool "pkill"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020080 default y
Denis Vlasenko72e1c892007-09-29 22:26:01 +000081 help
82 Send signals to processes by name.
83
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000084config PS
Eric Andersenc9f20d92002-12-05 08:41:41 +000085 bool "ps"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020086 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +000087 help
Eric Andersene5642112003-07-14 19:37:08 +000088 ps gives a snapshot of the current processes.
Eric Andersenc9f20d92002-12-05 08:41:41 +000089
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000090config FEATURE_PS_WIDE
Denys Vlasenkofca70a82009-07-03 22:16:17 +020091 bool "Enable wide output option (-w)"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +020092 default y
Denys Vlasenko8d9ac302011-09-26 02:56:08 +020093 depends on PS && !DESKTOP
Bernhard Reutner-Fischer6d6a40c2005-10-04 14:31:18 +000094 help
95 Support argument 'w' for wide output.
Denys Vlasenkofca70a82009-07-03 22:16:17 +020096 If given once, 132 chars are printed, and if given more
97 than once, the length is unlimited.
Bernhard Reutner-Fischer6d6a40c2005-10-04 14:31:18 +000098
Denys Vlasenko8d9ac302011-09-26 02:56:08 +020099config 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
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000107config FEATURE_PS_TIME
108 bool "Enable time and elapsed time output"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200109 default y
Denys Vlasenkoe3b1a1f2011-02-26 22:24:08 +0100110 depends on PS && DESKTOP
111 select PLATFORM_LINUX
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000112 help
113 Support -o time and -o etime output specifiers.
114
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200115config FEATURE_PS_ADDITIONAL_COLUMNS
116 bool "Enable additional ps columns"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200117 default y
Denys Vlasenkofca70a82009-07-03 22:16:17 +0200118 depends on PS && DESKTOP
119 help
120 Support -o rgroup, -o ruser, -o nice output specifiers.
121
Denis Vlasenko5fee2e12008-01-05 03:26:41 +0000122config 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
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000130config RENICE
Eric Andersenc9f20d92002-12-05 08:41:41 +0000131 bool "renice"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200132 default y
Eric Andersenc9f20d92002-12-05 08:41:41 +0000133 help
Eric Andersene5642112003-07-14 19:37:08 +0000134 Renice alters the scheduling priority of one or more running
135 processes.
Eric Andersenc9f20d92002-12-05 08:41:41 +0000136
Denis Vlasenko7d219aa2006-10-05 10:17:08 +0000137config BB_SYSCTL
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000138 bool "sysctl"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200139 default y
Mike Frysingerd1c8ae52005-09-24 23:13:22 +0000140 help
141 Configure kernel parameters at runtime.
142
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200143config FEATURE_SHOW_THREADS
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200144 bool "Support for showing threads in ps/pstree/top"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200145 default y
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200146 depends on PS || TOP || PSTREE
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200147 help
Lauri Kasanenda6fb7e2010-12-08 19:00:26 +0200148 Enables the ps -T option, showing of threads in pstree,
149 and 'h' command in top.
Denys Vlasenkob410d4a2009-09-19 22:29:42 +0200150
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000151config WATCH
152 bool "watch"
Denys Vlasenko2f32bf82010-06-06 04:14:28 +0200153 default y
Denis Vlasenkocc5e0902007-06-12 08:12:33 +0000154 help
155 watch is used to execute a program periodically, showing
156 output to the screen.
157
Eric Andersenc9f20d92002-12-05 08:41:41 +0000158endmenu