X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Futils%2Fbusybox%2Fconfig%2Fprocps%2FConfig.in;h=6bc5ec058aff5b14a6da896e327ca4d593b0ec08;hb=84da2a677a7133426829a05954af64dd533bf7a5;hp=6eafbda0fa27751352135fea7563a6d0e6400042;hpb=5d2a9d2a3a21bd360cc0956bd31335e7e3396d1d;p=openwrt%2Fopenwrt.git diff --git a/package/utils/busybox/config/procps/Config.in b/package/utils/busybox/config/procps/Config.in index 6eafbda0fa..6bc5ec058a 100644 --- a/package/utils/busybox/config/procps/Config.in +++ b/package/utils/busybox/config/procps/Config.in @@ -6,122 +6,6 @@ menu "Process Utilities" -config BUSYBOX_CONFIG_IOSTAT - bool "iostat" - default BUSYBOX_DEFAULT_IOSTAT - help - Report CPU and I/O statistics -config BUSYBOX_CONFIG_LSOF - bool "lsof" - default BUSYBOX_DEFAULT_LSOF - help - Show open files in the format of: - PID /path/to/executable /path/to/opened/file -config BUSYBOX_CONFIG_MPSTAT - bool "mpstat" - default BUSYBOX_DEFAULT_MPSTAT - help - Per-processor statistics -config BUSYBOX_CONFIG_NMETER - bool "nmeter" - default BUSYBOX_DEFAULT_NMETER - help - Prints selected system stats continuously, one line per update. -config BUSYBOX_CONFIG_PMAP - bool "pmap" - default BUSYBOX_DEFAULT_PMAP - help - Display processes' memory mappings. -config BUSYBOX_CONFIG_POWERTOP - bool "powertop" - default BUSYBOX_DEFAULT_POWERTOP - help - Analyze power consumption on Intel-based laptops -config BUSYBOX_CONFIG_PSTREE - bool "pstree" - default BUSYBOX_DEFAULT_PSTREE - help - Display a tree of processes. -config BUSYBOX_CONFIG_PWDX - bool "pwdx" - default BUSYBOX_DEFAULT_PWDX - help - Report current working directory of a process -config BUSYBOX_CONFIG_SMEMCAP - bool "smemcap" - default BUSYBOX_DEFAULT_SMEMCAP - help - smemcap is a tool for capturing process data for smem, - a memory usage statistic tool. -config BUSYBOX_CONFIG_TOP - bool "top" - default BUSYBOX_DEFAULT_TOP - help - The top program provides a dynamic real-time view of a running - system. - -config BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE - bool "Show CPU per-process usage percentage" - default BUSYBOX_DEFAULT_FEATURE_TOP_CPU_USAGE_PERCENTAGE - 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 BUSYBOX_DEFAULT_FEATURE_TOP_CPU_GLOBAL_PERCENTS - 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 BUSYBOX_DEFAULT_FEATURE_TOP_SMP_CPU - 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 BUSYBOX_DEFAULT_FEATURE_TOP_DECIMALS - 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 BUSYBOX_DEFAULT_FEATURE_TOP_SMP_PROCESS - 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 BUSYBOX_DEFAULT_FEATURE_TOPMEM - depends on BUSYBOX_CONFIG_TOP - help - Enable 's' in top (gives lots of memory info). -config BUSYBOX_CONFIG_UPTIME - bool "uptime" - default BUSYBOX_DEFAULT_UPTIME - select BUSYBOX_CONFIG_PLATFORM_LINUX #sysinfo() - help - 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. - -config BUSYBOX_CONFIG_FEATURE_UPTIME_UTMP_SUPPORT - bool "Support for showing the number of users" - default BUSYBOX_DEFAULT_FEATURE_UPTIME_UTMP_SUPPORT - depends on BUSYBOX_CONFIG_UPTIME && BUSYBOX_CONFIG_FEATURE_UTMP - help - Makes uptime display the number of users currently logged on. - config BUSYBOX_CONFIG_FREE bool "free" default BUSYBOX_DEFAULT_FREE @@ -130,7 +14,6 @@ config BUSYBOX_CONFIG_FREE 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. - config BUSYBOX_CONFIG_FUSER bool "fuser" default BUSYBOX_DEFAULT_FUSER @@ -138,7 +21,11 @@ config BUSYBOX_CONFIG_FUSER 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_IOSTAT + bool "iostat" + default BUSYBOX_DEFAULT_IOSTAT + help + Report CPU and I/O statistics config BUSYBOX_CONFIG_KILL bool "kill" default BUSYBOX_DEFAULT_KILL @@ -150,7 +37,6 @@ config BUSYBOX_CONFIG_KILL config BUSYBOX_CONFIG_KILLALL bool "killall" default BUSYBOX_DEFAULT_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 @@ -159,14 +45,38 @@ config BUSYBOX_CONFIG_KILLALL config BUSYBOX_CONFIG_KILLALL5 bool "killall5" default BUSYBOX_DEFAULT_KILLALL5 - depends on BUSYBOX_CONFIG_KILL - + help + The SystemV killall command. killall5 sends a signal + to all processes except kernel threads and the processes + in its own session, so it won't kill the shell that is running + the script it was called from. +config BUSYBOX_CONFIG_LSOF + bool "lsof" + default BUSYBOX_DEFAULT_LSOF + help + Show open files in the format of: + PID /path/to/executable /path/to/opened/file +config BUSYBOX_CONFIG_MPSTAT + bool "mpstat" + default BUSYBOX_DEFAULT_MPSTAT + help + Per-processor statistics +config BUSYBOX_CONFIG_NMETER + bool "nmeter" + default BUSYBOX_DEFAULT_NMETER + help + Prints selected system stats continuously, one line per update. config BUSYBOX_CONFIG_PGREP bool "pgrep" default BUSYBOX_DEFAULT_PGREP help Look for processes by name. +config BUSYBOX_CONFIG_PKILL + bool "pkill" + default BUSYBOX_DEFAULT_PKILL + help + Send signals to processes by name. config BUSYBOX_CONFIG_PIDOF bool "pidof" default BUSYBOX_DEFAULT_PIDOF @@ -189,13 +99,16 @@ config BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT 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 BUSYBOX_DEFAULT_PKILL +config BUSYBOX_CONFIG_PMAP + bool "pmap" + default BUSYBOX_DEFAULT_PMAP + help + Display processes' memory mappings. +config BUSYBOX_CONFIG_POWERTOP + bool "powertop" + default BUSYBOX_DEFAULT_POWERTOP help - Send signals to processes by name. - + Analyze power consumption on Intel-based laptops config BUSYBOX_CONFIG_PS bool "ps" default BUSYBOX_DEFAULT_PS @@ -241,28 +154,101 @@ config BUSYBOX_CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS 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_PSTREE + bool "pstree" + default BUSYBOX_DEFAULT_PSTREE + help + Display a tree of processes. +config BUSYBOX_CONFIG_PWDX + bool "pwdx" + default BUSYBOX_DEFAULT_PWDX + help + Report current working directory of a process config BUSYBOX_CONFIG_RENICE bool "renice" default BUSYBOX_DEFAULT_RENICE help Renice alters the scheduling priority of one or more running processes. - +config BUSYBOX_CONFIG_SMEMCAP + bool "smemcap" + default BUSYBOX_DEFAULT_SMEMCAP + help + smemcap is a tool for capturing process data for smem, + a memory usage statistic tool. config BUSYBOX_CONFIG_BB_SYSCTL bool "sysctl" default BUSYBOX_DEFAULT_BB_SYSCTL help Configure kernel parameters at runtime. +config BUSYBOX_CONFIG_TOP + bool "top" + default BUSYBOX_DEFAULT_TOP + help + The top program provides a dynamic real-time view of a running + system. -config BUSYBOX_CONFIG_FEATURE_SHOW_THREADS - bool "Support for showing threads in ps/pstree/top" - default BUSYBOX_DEFAULT_FEATURE_SHOW_THREADS - depends on BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_TOP || BUSYBOX_CONFIG_PSTREE +config BUSYBOX_CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE + bool "Show CPU per-process usage percentage" + default BUSYBOX_DEFAULT_FEATURE_TOP_CPU_USAGE_PERCENTAGE + depends on BUSYBOX_CONFIG_TOP help - Enables the ps -T option, showing of threads in pstree, - and 'h' command in top. + 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 BUSYBOX_DEFAULT_FEATURE_TOP_CPU_GLOBAL_PERCENTS + 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 BUSYBOX_DEFAULT_FEATURE_TOP_SMP_CPU + 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 BUSYBOX_DEFAULT_FEATURE_TOP_DECIMALS + 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 BUSYBOX_DEFAULT_FEATURE_TOP_SMP_PROCESS + 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 BUSYBOX_DEFAULT_FEATURE_TOPMEM + depends on BUSYBOX_CONFIG_TOP + help + Enable 's' in top (gives lots of memory info). +config BUSYBOX_CONFIG_UPTIME + bool "uptime" + default BUSYBOX_DEFAULT_UPTIME + select BUSYBOX_CONFIG_PLATFORM_LINUX #sysinfo() + help + 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. +config BUSYBOX_CONFIG_FEATURE_UPTIME_UTMP_SUPPORT + bool "Support for showing the number of users" + default BUSYBOX_DEFAULT_FEATURE_UPTIME_UTMP_SUPPORT + depends on BUSYBOX_CONFIG_UPTIME && BUSYBOX_CONFIG_FEATURE_UTMP + help + Makes uptime display the number of users currently logged on. config BUSYBOX_CONFIG_WATCH bool "watch" default BUSYBOX_DEFAULT_WATCH @@ -270,4 +256,12 @@ config BUSYBOX_CONFIG_WATCH watch is used to execute a program periodically, showing output to the screen. +config BUSYBOX_CONFIG_FEATURE_SHOW_THREADS + bool "Support for showing threads in ps/pstree/top" + default BUSYBOX_DEFAULT_FEATURE_SHOW_THREADS + depends on BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_TOP || BUSYBOX_CONFIG_PSTREE + help + Enables the ps -T option, showing of threads in pstree, + and 'h' command in top. + endmenu