#
# For a description of the syntax of this configuration file,
# see scripts/kbuild/config-language.txt.
#

menu "Process Utilities"

config BUSYBOX_FREE
	bool "free"
	default n
	depends on BUSYBOX_PLATFORM_LINUX #sysinfo()
	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_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_IOSTAT
	bool "iostat"
	default n
	depends on !ADK_PACKAGE_SYSSTAT
	help
	  Report CPU and I/O statistics

config BUSYBOX_KILL
	bool "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
	  signal is sent.

config BUSYBOX_KILLALL
	bool "killall"
	default y
	depends on BUSYBOX_KILL
	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_KILLALL5
	bool "killall5"
	default n
	depends on BUSYBOX_KILL

config BUSYBOX_MPSTAT
	bool "mpstat"
	default n
	depends on !ADK_PACKAGE_SYSSTAT
	help
	  Per-processor statistics

config BUSYBOX_NMETER
	bool "nmeter"
	default n
	help
	  Prints selected system stats continuously, one line per update.

config BUSYBOX_PGREP
	bool "pgrep"
	default y
	help
	  Look for processes by name.

config BUSYBOX_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 BUSYBOX_FEATURE_PIDOF_SINGLE
	bool "Enable argument for single shot (-s)"
	default n
	depends on BUSYBOX_PIDOF
	help
	  Support argument '-s' for returning only the first pid found.

config BUSYBOX_FEATURE_PIDOF_OMIT
	bool "Enable argument for omitting pids (-o)"
	default n
	depends on BUSYBOX_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_PKILL
	bool "pkill"
	default y
	help
	  Send signals to processes by name.

config BUSYBOX_PMAP
       bool "pmap"
       default n
       help
         Display processes' memory mappings.

config BUSYBOX_POWERTOP
	bool "powertop"
	default n
	help
	  Analyze power consumption on Intel-based laptops

config BUSYBOX_PS
	bool "ps"
	default y
	help
	  ps gives a snapshot of the current processes.

config BUSYBOX_FEATURE_PS_WIDE
	bool "Enable wide output option (-w)"
	default y
	depends on BUSYBOX_PS
	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_FEATURE_PS_TIME
	bool "Enable time and elapsed time output"
	default n
	depends on BUSYBOX_PS && BUSYBOX_DESKTOP && BUSYBOX_PLATFORM_LINUX #sysinfo()
	help
	  Support -o time and -o etime output specifiers.

config BUSYBOX_FEATURE_PS_ADDITIONAL_COLUMNS
	bool "Enable additional ps columns"
	default n
	depends on BUSYBOX_PS && BUSYBOX_DESKTOP
	help
	  Support -o rgroup, -o ruser, -o nice output specifiers.

config BUSYBOX_FEATURE_PS_UNUSUAL_SYSTEMS
	bool "Support Linux prior to 2.4.0 and non-ELF systems"
	default n
	depends on BUSYBOX_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_RENICE
	bool "renice"
	default n
	help
	  Renice alters the scheduling priority of one or more running
	  processes.

config BUSYBOX_SMEMCAP
	bool "smemcap"
	default n
	help
	  smemcap is a tool for capturing process data for smem,
	  a memory usage statistic tool.

config BUSYBOX_BB_SYSCTL
	bool "sysctl"
	default y
	help
	  Configure kernel parameters at runtime.

config BUSYBOX_TOP
	bool "top"
	default y
	help
	  The top program provides a dynamic real-time view of a running
	  system.

config BUSYBOX_FEATURE_TOP_CPU_USAGE_PERCENTAGE
	bool "Show CPU per-process usage percentage"
	default y
	depends on BUSYBOX_TOP
	help
	  Make top display CPU usage for each process.
	  This adds about 2k.

config BUSYBOX_FEATURE_TOP_CPU_GLOBAL_PERCENTS
	bool "Show CPU global usage percentage"
	default y
	depends on BUSYBOX_FEATURE_TOP_CPU_USAGE_PERCENTAGE
	help
	  Makes top display "CPU: NN% usr NN% sys..." line.
	  This adds about 0.5k.

config BUSYBOX_FEATURE_TOP_SMP_CPU
	bool "SMP CPU usage display ('c' key)"
	default n
	depends on BUSYBOX_FEATURE_TOP_CPU_GLOBAL_PERCENTS
	help
	  Allow 'c' key to switch between individual/cumulative CPU stats
	  This adds about 0.5k.

config BUSYBOX_FEATURE_TOP_DECIMALS
	bool "Show 1/10th of a percent in CPU/mem statistics"
	default n
	depends on BUSYBOX_FEATURE_TOP_CPU_USAGE_PERCENTAGE
	help
	  Show 1/10th of a percent in CPU/mem statistics.
	  This adds about 0.3k.

config BUSYBOX_FEATURE_TOP_SMP_PROCESS
	bool "Show CPU process runs on ('j' field)"
	default n
	depends on BUSYBOX_TOP
	help
	  Show CPU where process was last found running on.
	  This is the 'j' field.

config BUSYBOX_FEATURE_TOPMEM
	bool "Topmem command ('s' key)"
	default n
	depends on BUSYBOX_TOP
	help
	  Enable 's' in top (gives lots of memory info).

config BUSYBOX_FEATURE_SHOW_THREADS
	bool "Support for showing threads in ps/top"
	default y
	depends on BUSYBOX_PS || BUSYBOX_TOP
	help
	  Enables ps -T option and 'h' command in top

config BUSYBOX_UPTIME
	bool "uptime"
	default y
	depends on BUSYBOX_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_WATCH
	bool "watch"
	default y
	help
	  watch is used to execute a program periodically, showing
	  output to the screen.

endmenu