mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
0275ee5dde
Remove stime backport. Remove static libgcc patch as upstream fixed it with BUSYBOX_DEFAULT_STATIC_LIBGCC which defauls to off. Remove date -k patch as it no longer applies. It's also pointless as busybox' hwclock utility can do the same thing. Remove ntpd patch as that seems to have been applied upstream. Add smalll patch fixing compilation with SELinux. Upstream commit 2496616b0a8d1c80cd1416b73a4847b59b9f969a renamed the variable without renaming it in the SELinux path. Refresh config and patches. Config refresh: Refresh commands, run after busybox is first built once: cd package/utils/busybox/config/ ../convert_menuconfig.pl ../../../../build_dir/target-mips_24kc_musl/busybox-default/busybox-1.33.0 cd .. ./convert_defaults.pl < ../../../build_dir/target-mips_24kc_musl/busybox-default/busybox-1.33.0/.config > Config-defaults.in Manual edits needed afterward: * Config-defaults.in: OpenWrt config symbol IPV6 logic applied to BUSYBOX_DEFAULT_FEATURE_IPV6 * Config-defaults.in: OpenWrt configTARGET_bcm53xx logic applied to BUSYBOX_DEFAULT_TRUNCATE (commit547f1ec
) * editors/Config.in: Add USE_GLIBC dependency to BUSYBOX_CONFIG_FEATURE_VI_REGEX_SEARCH (commitf141090
) * shell/Config.in : change at "Options common to all shells" the symbol SHELL_ASH --> BUSYBOX_CONFIG_SHELL_ASH (discussion in http://lists.openwrt.org/pipermail/openwrt-devel/2021-January/033140.html Apparently our script does not see the hidden option while prepending config options with "BUSYBOX_CONFIG_" which leads to a missed dependency when the options are later evaluated.) * Edit Config.in files by adding quotes to sourced items in config/Config.in, networking/Config.in and util-linux/Config.in (commit1da014f
) Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> [Added comments from Hannu Nyman to commit message] Signed-off-by: Rosen Penev <rosenp@gmail.com>
271 lines
8.5 KiB
Plaintext
271 lines
8.5 KiB
Plaintext
# DO NOT EDIT. This file is generated from Config.src
|
|
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see docs/Kconfig-language.txt.
|
|
#
|
|
|
|
menu "Process Utilities"
|
|
|
|
config BUSYBOX_CONFIG_FREE
|
|
bool "free (3.1 kb)"
|
|
default BUSYBOX_DEFAULT_FREE
|
|
help
|
|
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 (7 kb)"
|
|
default BUSYBOX_DEFAULT_FUSER
|
|
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_IOSTAT
|
|
bool "iostat (7.6 kb)"
|
|
default BUSYBOX_DEFAULT_IOSTAT
|
|
help
|
|
Report CPU and I/O statistics
|
|
config BUSYBOX_CONFIG_KILL
|
|
bool "kill (3.1 kb)"
|
|
default BUSYBOX_DEFAULT_KILL
|
|
help
|
|
The command kill sends the specified signal to the specified
|
|
process or process group. If no signal is specified, the TERM
|
|
signal is sent.
|
|
|
|
config BUSYBOX_CONFIG_KILLALL
|
|
bool "killall (5.6 kb)"
|
|
default BUSYBOX_DEFAULT_KILLALL
|
|
help
|
|
killall sends a signal to all processes running any of the
|
|
specified commands. If no signal name is specified, SIGTERM is
|
|
sent.
|
|
|
|
config BUSYBOX_CONFIG_KILLALL5
|
|
bool "killall5 (5.3 kb)"
|
|
default BUSYBOX_DEFAULT_KILLALL5
|
|
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 (3.4 kb)"
|
|
default BUSYBOX_DEFAULT_LSOF
|
|
help
|
|
Show open files in the format of:
|
|
PID <TAB> /path/to/executable <TAB> /path/to/opened/file
|
|
config BUSYBOX_CONFIG_MPSTAT
|
|
bool "mpstat (9.8 kb)"
|
|
default BUSYBOX_DEFAULT_MPSTAT
|
|
help
|
|
Per-processor statistics
|
|
config BUSYBOX_CONFIG_NMETER
|
|
bool "nmeter (11 kb)"
|
|
default BUSYBOX_DEFAULT_NMETER
|
|
help
|
|
Prints selected system stats continuously, one line per update.
|
|
config BUSYBOX_CONFIG_PGREP
|
|
bool "pgrep (6.5 kb)"
|
|
default BUSYBOX_DEFAULT_PGREP
|
|
help
|
|
Look for processes by name.
|
|
|
|
config BUSYBOX_CONFIG_PKILL
|
|
bool "pkill (7.5 kb)"
|
|
default BUSYBOX_DEFAULT_PKILL
|
|
help
|
|
Send signals to processes by name.
|
|
config BUSYBOX_CONFIG_PIDOF
|
|
bool "pidof (6.3 kb)"
|
|
default BUSYBOX_DEFAULT_PIDOF
|
|
help
|
|
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 single shot (-s)"
|
|
default BUSYBOX_DEFAULT_FEATURE_PIDOF_SINGLE
|
|
depends on BUSYBOX_CONFIG_PIDOF
|
|
help
|
|
Support '-s' for returning only the first pid found.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_PIDOF_OMIT
|
|
bool "Enable omitting pids (-o PID)"
|
|
default BUSYBOX_DEFAULT_FEATURE_PIDOF_OMIT
|
|
depends on BUSYBOX_CONFIG_PIDOF
|
|
help
|
|
Support '-o PID' for omitting the given pid(s) 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_PMAP
|
|
bool "pmap (6 kb)"
|
|
default BUSYBOX_DEFAULT_PMAP
|
|
help
|
|
Display processes' memory mappings.
|
|
config BUSYBOX_CONFIG_POWERTOP
|
|
bool "powertop (9.6 kb)"
|
|
default BUSYBOX_DEFAULT_POWERTOP
|
|
help
|
|
Analyze power consumption on Intel-based laptops
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_POWERTOP_INTERACTIVE
|
|
bool "Accept keyboard commands"
|
|
default BUSYBOX_DEFAULT_FEATURE_POWERTOP_INTERACTIVE
|
|
depends on BUSYBOX_CONFIG_POWERTOP
|
|
help
|
|
Without this, powertop will only refresh display every 10 seconds.
|
|
No keyboard commands will work, only ^C to terminate.
|
|
config BUSYBOX_CONFIG_PS
|
|
bool "ps (11 kb)"
|
|
default BUSYBOX_DEFAULT_PS
|
|
help
|
|
ps gives a snapshot of the current processes.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_PS_WIDE
|
|
bool "Enable wide output (-w)"
|
|
default BUSYBOX_DEFAULT_FEATURE_PS_WIDE
|
|
depends on (BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_MINIPS) && !BUSYBOX_CONFIG_DESKTOP
|
|
help
|
|
Support argument 'w' for wide output.
|
|
If given once, 132 chars are printed, and if given more
|
|
than once, the length is unlimited.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_PS_LONG
|
|
bool "Enable long output (-l)"
|
|
default BUSYBOX_DEFAULT_FEATURE_PS_LONG
|
|
depends on (BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_MINIPS) && !BUSYBOX_CONFIG_DESKTOP
|
|
help
|
|
Support argument 'l' for long output.
|
|
Adds fields PPID, RSS, START, TIME & TTY
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_PS_TIME
|
|
bool "Enable -o time and -o etime specifiers"
|
|
default BUSYBOX_DEFAULT_FEATURE_PS_TIME
|
|
depends on (BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_MINIPS) && BUSYBOX_CONFIG_DESKTOP
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS
|
|
bool "Support Linux prior to 2.4.0 and non-ELF systems"
|
|
default BUSYBOX_DEFAULT_FEATURE_PS_UNUSUAL_SYSTEMS
|
|
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_FEATURE_PS_ADDITIONAL_COLUMNS
|
|
bool "Enable -o rgroup, -o ruser, -o nice specifiers"
|
|
default BUSYBOX_DEFAULT_FEATURE_PS_ADDITIONAL_COLUMNS
|
|
depends on (BUSYBOX_CONFIG_PS || BUSYBOX_CONFIG_MINIPS) && BUSYBOX_CONFIG_DESKTOP
|
|
config BUSYBOX_CONFIG_PSTREE
|
|
bool "pstree (9.3 kb)"
|
|
default BUSYBOX_DEFAULT_PSTREE
|
|
help
|
|
Display a tree of processes.
|
|
config BUSYBOX_CONFIG_PWDX
|
|
bool "pwdx (3.7 kb)"
|
|
default BUSYBOX_DEFAULT_PWDX
|
|
help
|
|
Report current working directory of a process
|
|
config BUSYBOX_CONFIG_SMEMCAP
|
|
bool "smemcap (2.5 kb)"
|
|
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 (7.4 kb)"
|
|
default BUSYBOX_DEFAULT_BB_SYSCTL
|
|
help
|
|
Configure kernel parameters at runtime.
|
|
config BUSYBOX_CONFIG_TOP
|
|
bool "top (18 kb)"
|
|
default BUSYBOX_DEFAULT_TOP
|
|
help
|
|
The top program provides a dynamic real-time view of a running
|
|
system.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_TOP_INTERACTIVE
|
|
bool "Accept keyboard commands"
|
|
default BUSYBOX_DEFAULT_FEATURE_TOP_INTERACTIVE
|
|
depends on BUSYBOX_CONFIG_TOP
|
|
help
|
|
Without this, top will only refresh display every 5 seconds.
|
|
No keyboard commands will work, only ^C to terminate.
|
|
|
|
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 (3.7 kb)"
|
|
default BUSYBOX_DEFAULT_UPTIME
|
|
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 "Show the number of users"
|
|
default BUSYBOX_DEFAULT_FEATURE_UPTIME_UTMP_SUPPORT
|
|
depends on BUSYBOX_CONFIG_UPTIME && BUSYBOX_CONFIG_FEATURE_UTMP
|
|
help
|
|
Display the number of users currently logged on.
|
|
config BUSYBOX_CONFIG_WATCH
|
|
bool "watch (4.4 kb)"
|
|
default BUSYBOX_DEFAULT_WATCH
|
|
help
|
|
watch is used to execute a program periodically, showing
|
|
output to the screen.
|
|
|
|
config BUSYBOX_CONFIG_FEATURE_SHOW_THREADS
|
|
bool "Support thread display 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
|