X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fbusybox%2Fconfig%2Fprocps%2FConfig.in;h=da5e95cf00d79b4bf0bd873d125667b30a10b6ec;hp=ef0c6a2dcd39b787d1a017bb690a975f6446b045;hb=c1d4bdee238b063ff5a30291902c29cb1b5b9a4b;hpb=6a97c4a20375ff91e6e4d3494ebe982cfd6663b4 diff --git a/package/busybox/config/procps/Config.in b/package/busybox/config/procps/Config.in index ef0c6a2dcd..da5e95cf00 100644 --- a/package/busybox/config/procps/Config.in +++ b/package/busybox/config/procps/Config.in @@ -5,6 +5,13 @@ menu "Process Utilities" +config BUSYBOX_CONFIG_SMEMCAP + bool "smemcap" + default n + help + smemcap is a tool for capturing process data for smem, + a memory usage statistic tool. + config BUSYBOX_CONFIG_FREE bool "free" default y @@ -18,7 +25,7 @@ config BUSYBOX_CONFIG_FUSER default n help fuser lists all PIDs (Process IDs) that currently have a given - file open. fuser can also list all PIDs that have a given network + file open. fuser can also list all PIDs that have a given network (TCP or UDP) port open. config BUSYBOX_CONFIG_KILL @@ -26,7 +33,7 @@ config BUSYBOX_CONFIG_KILL default y help The command kill sends the specified signal to the specified - process or process group. If no signal is specified, the TERM + process or process group. If no signal is specified, the TERM signal is sent. config BUSYBOX_CONFIG_KILLALL @@ -35,14 +42,26 @@ config BUSYBOX_CONFIG_KILLALL depends on BUSYBOX_CONFIG_KILL help killall sends a signal to all processes running any of the - specified commands. If no signal name is specified, SIGTERM is + specified commands. If no signal name is specified, SIGTERM is sent. config BUSYBOX_CONFIG_KILLALL5 bool "killall5" - default y + default n depends on BUSYBOX_CONFIG_KILL +config BUSYBOX_CONFIG_NMETER + bool "nmeter" + default n + help + Prints selected system stats continuously, one line per update. + +config BUSYBOX_CONFIG_PGREP + bool "pgrep" + default y + help + Look for processes by name. + config BUSYBOX_CONFIG_PIDOF bool "pidof" default y @@ -66,6 +85,12 @@ config BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT The special pid %PPID can be used to name the parent process of the pidof, in other words the calling shell or shell script. +config BUSYBOX_CONFIG_PKILL + bool "pkill" + default y + help + Send signals to processes by name. + config BUSYBOX_CONFIG_PS bool "ps" default y @@ -73,13 +98,35 @@ config BUSYBOX_CONFIG_PS ps gives a snapshot of the current processes. config BUSYBOX_CONFIG_FEATURE_PS_WIDE - bool "Enable argument for wide output (-w)" - default y + bool "Enable wide output option (-w)" + default n depends on BUSYBOX_CONFIG_PS help Support argument 'w' for wide output. - If given once, 132 chars are printed and given more than - one, the length is unlimited. + If given once, 132 chars are printed, and if given more + than once, the length is unlimited. + +config BUSYBOX_CONFIG_FEATURE_PS_TIME + bool "Enable time and elapsed time output" + default n + depends on BUSYBOX_CONFIG_PS && BUSYBOX_CONFIG_DESKTOP + help + Support -o time and -o etime output specifiers. + +config BUSYBOX_CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS + bool "Enable additional ps columns" + default n + depends on BUSYBOX_CONFIG_PS && BUSYBOX_CONFIG_DESKTOP + help + Support -o rgroup, -o ruser, -o nice output specifiers. + +config BUSYBOX_CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS + bool "Support Linux prior to 2.4.0 and non-ELF systems" + default n + depends on BUSYBOX_CONFIG_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) config BUSYBOX_CONFIG_RENICE bool "renice" @@ -102,11 +149,58 @@ config BUSYBOX_CONFIG_TOP system. config BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE - bool "Support showing CPU usage percentage (add 2k bytes)" + bool "Show CPU per-process usage percentage" + default y + depends on BUSYBOX_CONFIG_TOP + help + Make top display CPU usage for each process. + This adds about 2k. + +config BUSYBOX_CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS + bool "Show CPU global usage percentage" default y + depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE + help + Makes top display "CPU: NN% usr NN% sys..." line. + This adds about 0.5k. + +config BUSYBOX_CONFIG_FEATURE_TOP_SMP_CPU + bool "SMP CPU usage display ('c' key)" + default n + depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS + help + Allow 'c' key to switch between individual/cumulative CPU stats + This adds about 0.5k. + +config BUSYBOX_CONFIG_FEATURE_TOP_DECIMALS + bool "Show 1/10th of a percent in CPU/mem statistics" + default n + depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE + help + Show 1/10th of a percent in CPU/mem statistics. + This adds about 0.3k. + +config BUSYBOX_CONFIG_FEATURE_TOP_SMP_PROCESS + bool "Show CPU process runs on ('j' field)" + default n + depends on BUSYBOX_CONFIG_TOP + help + Show CPU where process was last found running on. + This is the 'j' field. + +config BUSYBOX_CONFIG_FEATURE_TOPMEM + bool "Topmem command ('s' key)" + default n depends on BUSYBOX_CONFIG_TOP help - Make top display CPU usage. + Enable 's' in top (gives lots of memory info). + +config BUSYBOX_CONFIG_FEATURE_SHOW_THREADS + bool "Support for showing threads in ps/top" + default n + depends on BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_TOP + help + Enables ps -T option and 'h' command in top config BUSYBOX_CONFIG_UPTIME bool "uptime" @@ -116,6 +210,11 @@ config BUSYBOX_CONFIG_UPTIME 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. +config BUSYBOX_CONFIG_WATCH + bool "watch" + default n + help + watch is used to execute a program periodically, showing + output to the screen. endmenu -