X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/efd2193508b026b6e749c2273937a0f729ed72aa..0dd21ca83758dd25fc4821ec0ce243d8500d7caf:/package/busybox/config/procps/Config.in?ds=sidebyside diff --git a/package/busybox/config/procps/Config.in b/package/busybox/config/procps/Config.in index 85328564a..f650f5220 100644 --- a/package/busybox/config/procps/Config.in +++ b/package/busybox/config/procps/Config.in @@ -13,6 +13,14 @@ config BUSYBOX_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 BUSYBOX_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 BUSYBOX_CONFIG_KILL bool "kill" default y @@ -34,7 +42,19 @@ config BUSYBOX_CONFIG_KILLALL5 bool "killall5" default y 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 @@ -42,12 +62,58 @@ config BUSYBOX_CONFIG_PIDOF Pidof finds the process id's (pids) of the named programs. It prints those id's on the standard output. +config BUSYBOX_CONFIG_FEATURE_PIDOF_SINGLE + bool "Enable argument for single shot (-s)" + default n + depends on BUSYBOX_CONFIG_PIDOF + help + Support argument '-s' for returning only the first pid found. + +config BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT + bool "Enable argument for omitting pids (-o)" + default n + depends on BUSYBOX_CONFIG_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 BUSYBOX_CONFIG_PKILL + bool "pkill" + default y + help + Send signals to processes by name. + config BUSYBOX_CONFIG_PS bool "ps" default y help ps gives a snapshot of the current processes. +config BUSYBOX_CONFIG_FEATURE_PS_WIDE + bool "Enable argument for wide output (-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. + +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_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" default n @@ -55,6 +121,12 @@ config BUSYBOX_CONFIG_RENICE Renice alters the scheduling priority of one or more running processes. +config BUSYBOX_CONFIG_BB_SYSCTL + bool "sysctl" + default y + help + Configure kernel parameters at runtime. + config BUSYBOX_CONFIG_TOP bool "top" default y @@ -62,12 +134,33 @@ config BUSYBOX_CONFIG_TOP The top program provides a dynamic real-time view of a running system. -config BUSYBOX_FEATURE_CPU_USAGE_PERCENTAGE - bool +config BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE + bool "Show CPU per-process usage percentage (adds 2k bytes)" + default y + depends on BUSYBOX_CONFIG_TOP + help + Make top display CPU usage for each process. + +config BUSYBOX_CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS + bool "Show CPU global usage percentage (adds 0.5k bytes)" default y + depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE + help + Makes top display "CPU: NN% usr NN% sys..." line. + +config BUSYBOX_CONFIG_FEATURE_TOP_DECIMALS + bool "Show 1/10th of a percent in CPU/mem statistics (adds 0.3k bytes)" + default n + depends on BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE + help + Show 1/10th of a percent in CPU/mem statistics. + +config BUSYBOX_CONFIG_FEATURE_TOPMEM + bool "topmem" + 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_UPTIME bool "uptime" @@ -77,11 +170,14 @@ 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_BB_SYSCTL - bool "sysctl" - default y +config BUSYBOX_CONFIG_WATCH + bool "watch" + default n + #huh?? select DATE help - sysctl - configure kernel parameters at runtime + watch is used to execute a program periodically, showing + output to the screen. + endmenu