From 4aca87515a5083ae0e31ce3177189fd43b6d05ac Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 3 Jan 2015 13:58:15 +0100 Subject: patch to Vanilla Tomato 1.28 --- release/src/router/busybox/procps/Config.in | 158 +++++++++++++++++++++++++--- 1 file changed, 141 insertions(+), 17 deletions(-) mode change 100755 => 100644 release/src/router/busybox/procps/Config.in (limited to 'release/src/router/busybox/procps/Config.in') diff --git a/release/src/router/busybox/procps/Config.in b/release/src/router/busybox/procps/Config.in old mode 100755 new mode 100644 index 47f61bec..702442a5 --- a/release/src/router/busybox/procps/Config.in +++ b/release/src/router/busybox/procps/Config.in @@ -5,7 +5,7 @@ menu "Process Utilities" -config CONFIG_FREE +config FREE bool "free" default n help @@ -13,58 +13,175 @@ config CONFIG_FREE memory in the system, as well as the buffers used by the kernel. The shared memory column should be ignored; it is obsolete. -config CONFIG_KILL +config FUSER + bool "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 + (TCP or UDP) port open. + +config KILL bool "kill" default n 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 CONFIG_KILLALL +config KILLALL bool "killall" default n - depends on CONFIG_KILL + depends on 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 CONFIG_PIDOF +config KILLALL5 + bool "killall5" + default n + depends on KILL + +config NMETER + bool "nmeter" + default n + help + Prints selected system stats continuously, one line per update. + +config PGREP + bool "pgrep" + default n + help + Look for processes by name. + +config PIDOF bool "pidof" default n help Pidof finds the process id's (pids) of the named programs. It prints those id's on the standard output. -config CONFIG_PS +config FEATURE_PIDOF_SINGLE + bool "Enable argument for single shot (-s)" + default n + depends on PIDOF + help + Support argument '-s' for returning only the first pid found. + +config FEATURE_PIDOF_OMIT + bool "Enable argument for omitting pids (-o)" + default n + depends on PIDOF + 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. + +config PKILL + bool "pkill" + default n + help + Send signals to processes by name. + +config PS bool "ps" default n help ps gives a snapshot of the current processes. -config CONFIG_RENICE +config FEATURE_PS_WIDE + bool "Enable argument for wide output (-w)" + default n + depends on PS + help + Support argument 'w' for wide output. + If given once, 132 chars are printed and given more than + one, the length is unlimited. + +config FEATURE_PS_TIME + bool "Enable time and elapsed time output" + default n + depends on PS && DESKTOP + help + Support -o time and -o etime output specifiers. + +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) + +config RENICE bool "renice" default n help Renice alters the scheduling priority of one or more running processes. -config CONFIG_TOP +config BB_SYSCTL + bool "sysctl" + default n + help + Configure kernel parameters at runtime. + +config TOP bool "top" - default y + default n help The top program provides a dynamic real-time view of a running system. -config FEATURE_CPU_USAGE_PERCENTAGE - bool " Support show CPU usage percentage (add 2k bytes)" +config FEATURE_TOP_CPU_USAGE_PERCENTAGE + bool "Show CPU per-process usage percentage" default y - depends on CONFIG_TOP + depends on TOP help - Make top display CPU usage. + Make top display CPU usage for each process. + This adds about 2k. -config CONFIG_UPTIME +config FEATURE_TOP_CPU_GLOBAL_PERCENTS + bool "Show CPU global usage percentage" + default y + depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE + help + Makes top display "CPU: NN% usr NN% sys..." line. + This adds about 0.5k. + +config FEATURE_TOP_SMP_CPU + bool "SMP CPU usage display ('c' key)" + default n + depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS + help + Allow 'c' key to switch between individual/cumulative CPU stats + This adds about 0.5k. + +config FEATURE_TOP_DECIMALS + bool "Show 1/10th of a percent in CPU/mem statistics" + default n + depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE + help + Show 1/10th of a percent in CPU/mem statistics. + This adds about 0.3k. + +config FEATURE_TOP_SMP_PROCESS + bool "Show CPU process runs on ('j' field)" + default n + depends on TOP + help + Show CPU where process was last found running on. + This is the 'j' field. + +config FEATURE_TOPMEM + bool "Topmem command ('s' key)" + default n + depends on TOP + help + Enable 's' in top (gives lots of memory info). + +config UPTIME bool "uptime" default n help @@ -72,5 +189,12 @@ config 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. -endmenu +config WATCH + bool "watch" + default n + help + watch is used to execute a program periodically, showing + output to the screen. + +endmenu -- cgit v1.2.3-54-g00ecf