config: deindent all help texts
Those two spaces after tab have no effect, and always a nuisance when editing. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -12,7 +12,7 @@ config FEATURE_SHOW_THREADS
|
||||
default y
|
||||
depends on PS || TOP || PSTREE
|
||||
help
|
||||
Enables the ps -T option, showing of threads in pstree,
|
||||
and 'h' command in top.
|
||||
Enables the ps -T option, showing of threads in pstree,
|
||||
and 'h' command in top.
|
||||
|
||||
endmenu
|
||||
|
@@ -11,9 +11,9 @@
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX #sysinfo()
|
||||
//config: help
|
||||
//config: free displays the total amount of free and used physical and swap
|
||||
//config: memory in the system, as well as the buffers used by the kernel.
|
||||
//config: The shared memory column should be ignored; it is obsolete.
|
||||
//config: free displays the total amount of free and used physical and swap
|
||||
//config: memory in the system, as well as the buffers used by the kernel.
|
||||
//config: The shared memory column should be ignored; it is obsolete.
|
||||
|
||||
//applet:IF_FREE(APPLET(free, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
@@ -10,9 +10,9 @@
|
||||
//config: bool "fuser (7 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: fuser lists all PIDs (Process IDs) that currently have a given
|
||||
//config: file open. fuser can also list all PIDs that have a given network
|
||||
//config: (TCP or UDP) port open.
|
||||
//config: fuser lists all PIDs (Process IDs) that currently have a given
|
||||
//config: file open. fuser can also list all PIDs that have a given network
|
||||
//config: (TCP or UDP) port open.
|
||||
|
||||
//applet:IF_FUSER(APPLET(fuser, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
@@ -11,7 +11,7 @@
|
||||
//config: bool "iostat (7.4 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Report CPU and I/O statistics
|
||||
//config: Report CPU and I/O statistics
|
||||
|
||||
//applet:IF_IOSTAT(APPLET(iostat, BB_DIR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
@@ -11,26 +11,26 @@
|
||||
//config: bool "kill (2.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: The command kill sends the specified signal to the specified
|
||||
//config: process or process group. If no signal is specified, the TERM
|
||||
//config: signal is sent.
|
||||
//config: The command kill sends the specified signal to the specified
|
||||
//config: process or process group. If no signal is specified, the TERM
|
||||
//config: signal is sent.
|
||||
//config:
|
||||
//config:config KILLALL
|
||||
//config: bool "killall (5.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: killall sends a signal to all processes running any of the
|
||||
//config: specified commands. If no signal name is specified, SIGTERM is
|
||||
//config: sent.
|
||||
//config: killall sends a signal to all processes running any of the
|
||||
//config: specified commands. If no signal name is specified, SIGTERM is
|
||||
//config: sent.
|
||||
//config:
|
||||
//config:config KILLALL5
|
||||
//config: bool "killall5 (5.3 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: The SystemV killall command. killall5 sends a signal
|
||||
//config: to all processes except kernel threads and the processes
|
||||
//config: in its own session, so it won't kill the shell that is running
|
||||
//config: the script it was called from.
|
||||
//config: The SystemV killall command. killall5 sends a signal
|
||||
//config: to all processes except kernel threads and the processes
|
||||
//config: in its own session, so it won't kill the shell that is running
|
||||
//config: the script it was called from.
|
||||
|
||||
//applet:IF_KILL(APPLET(kill, BB_DIR_BIN, BB_SUID_DROP))
|
||||
// APPLET_ODDNAME:name main location suid_type help
|
||||
|
@@ -11,8 +11,8 @@
|
||||
//config: bool "lsof (3.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Show open files in the format of:
|
||||
//config: PID <TAB> /path/to/executable <TAB> /path/to/opened/file
|
||||
//config: Show open files in the format of:
|
||||
//config: PID <TAB> /path/to/executable <TAB> /path/to/opened/file
|
||||
|
||||
//applet:IF_LSOF(APPLET(lsof, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
//config: bool "mpstat (10 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Per-processor statistics
|
||||
//config: Per-processor statistics
|
||||
|
||||
#include "libbb.h"
|
||||
#include <sys/utsname.h> /* struct utsname */
|
||||
|
@@ -10,7 +10,7 @@
|
||||
//config: bool "nmeter (10 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Prints selected system stats continuously, one line per update.
|
||||
//config: Prints selected system stats continuously, one line per update.
|
||||
|
||||
//applet:IF_NMETER(APPLET(nmeter, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
@@ -10,13 +10,13 @@
|
||||
//config: bool "pgrep (6.8 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Look for processes by name.
|
||||
//config: Look for processes by name.
|
||||
//config:
|
||||
//config:config PKILL
|
||||
//config: bool "pkill (7.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Send signals to processes by name.
|
||||
//config: Send signals to processes by name.
|
||||
|
||||
//applet:IF_PGREP(APPLET(pgrep, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
// APPLET_ODDNAME:name main location suid_type help
|
||||
|
@@ -10,24 +10,24 @@
|
||||
//config: bool "pidof (6.6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Pidof finds the process id's (pids) of the named programs. It prints
|
||||
//config: those id's on the standard output.
|
||||
//config: Pidof finds the process id's (pids) of the named programs. It prints
|
||||
//config: those id's on the standard output.
|
||||
//config:
|
||||
//config:config FEATURE_PIDOF_SINGLE
|
||||
//config: bool "Enable single shot (-s)"
|
||||
//config: default y
|
||||
//config: depends on PIDOF
|
||||
//config: help
|
||||
//config: Support '-s' for returning only the first pid found.
|
||||
//config: Support '-s' for returning only the first pid found.
|
||||
//config:
|
||||
//config:config FEATURE_PIDOF_OMIT
|
||||
//config: bool "Enable omitting pids (-o PID)"
|
||||
//config: default y
|
||||
//config: depends on PIDOF
|
||||
//config: help
|
||||
//config: Support '-o PID' for omitting the given pid(s) in output.
|
||||
//config: The special pid %PPID can be used to name the parent process
|
||||
//config: of the pidof, in other words the calling shell or shell script.
|
||||
//config: Support '-o PID' for omitting the given pid(s) in output.
|
||||
//config: The special pid %PPID can be used to name the parent process
|
||||
//config: of the pidof, in other words the calling shell or shell script.
|
||||
|
||||
//applet:IF_PIDOF(APPLET(pidof, BB_DIR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
@@ -9,10 +9,10 @@
|
||||
*/
|
||||
|
||||
//config:config PMAP
|
||||
//config: bool "pmap (6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Display processes' memory mappings.
|
||||
//config: bool "pmap (6 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Display processes' memory mappings.
|
||||
|
||||
//applet:IF_PMAP(APPLET(pmap, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
//kbuild:lib-$(CONFIG_PMAP) += pmap.o
|
||||
|
@@ -17,15 +17,15 @@
|
||||
//config: bool "powertop (9.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Analyze power consumption on Intel-based laptops
|
||||
//config: Analyze power consumption on Intel-based laptops
|
||||
//config:
|
||||
//config:config FEATURE_POWERTOP_INTERACTIVE
|
||||
//config: bool "Accept keyboard commands"
|
||||
//config: default y
|
||||
//config: depends on POWERTOP
|
||||
//config: help
|
||||
//config: Without this, powertop will only refresh display every 10 seconds.
|
||||
//config: No keyboard commands will work, only ^C to terminate.
|
||||
//config: Without this, powertop will only refresh display every 10 seconds.
|
||||
//config: No keyboard commands will work, only ^C to terminate.
|
||||
|
||||
// XXX This should be configurable
|
||||
#define ENABLE_FEATURE_POWERTOP_PROCIRQ 1
|
||||
|
16
procps/ps.c
16
procps/ps.c
@@ -12,24 +12,24 @@
|
||||
//config: bool "ps (11 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: ps gives a snapshot of the current processes.
|
||||
//config: ps gives a snapshot of the current processes.
|
||||
//config:
|
||||
//config:config FEATURE_PS_WIDE
|
||||
//config: bool "Enable wide output option (-w)"
|
||||
//config: default y
|
||||
//config: depends on PS && !DESKTOP
|
||||
//config: help
|
||||
//config: Support argument 'w' for wide output.
|
||||
//config: If given once, 132 chars are printed, and if given more
|
||||
//config: than once, the length is unlimited.
|
||||
//config: Support argument 'w' for wide output.
|
||||
//config: If given once, 132 chars are printed, and if given more
|
||||
//config: than once, the length is unlimited.
|
||||
//config:
|
||||
//config:config FEATURE_PS_LONG
|
||||
//config: bool "Enable long output option (-l)"
|
||||
//config: default y
|
||||
//config: depends on PS && !DESKTOP
|
||||
//config: help
|
||||
//config: Support argument 'l' for long output.
|
||||
//config: Adds fields PPID, RSS, START, TIME & TTY
|
||||
//config: Support argument 'l' for long output.
|
||||
//config: Adds fields PPID, RSS, START, TIME & TTY
|
||||
//config:
|
||||
//config:config FEATURE_PS_TIME
|
||||
//config: bool "Support -o time and -o etime output specifiers"
|
||||
@@ -42,8 +42,8 @@
|
||||
//config: default n
|
||||
//config: depends on FEATURE_PS_TIME
|
||||
//config: help
|
||||
//config: Include support for measuring HZ on old kernels and non-ELF systems
|
||||
//config: (if you are on Linux 2.4.0+ and use ELF, you don't need this)
|
||||
//config: Include support for measuring HZ on old kernels and non-ELF systems
|
||||
//config: (if you are on Linux 2.4.0+ and use ELF, you don't need this)
|
||||
//config:
|
||||
//config:config FEATURE_PS_ADDITIONAL_COLUMNS
|
||||
//config: bool "Support -o rgroup, -o ruser, -o nice specifiers"
|
||||
|
@@ -14,7 +14,7 @@
|
||||
//config: bool "pstree (9.4 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Display a tree of processes.
|
||||
//config: Display a tree of processes.
|
||||
|
||||
//applet:IF_PSTREE(APPLET(pstree, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
@@ -12,7 +12,7 @@
|
||||
//config: bool "pwdx (3.5 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Report current working directory of a process
|
||||
//config: Report current working directory of a process
|
||||
|
||||
//applet:IF_PWDX(APPLET(pwdx, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
@@ -16,8 +16,8 @@
|
||||
//config: bool "smemcap (2.5 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: smemcap is a tool for capturing process data for smem,
|
||||
//config: a memory usage statistic tool.
|
||||
//config: smemcap is a tool for capturing process data for smem,
|
||||
//config: a memory usage statistic tool.
|
||||
|
||||
#include "libbb.h"
|
||||
#include "bb_archive.h"
|
||||
|
@@ -14,7 +14,7 @@
|
||||
//config: bool "sysctl (6.9 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: Configure kernel parameters at runtime.
|
||||
//config: Configure kernel parameters at runtime.
|
||||
|
||||
//applet:IF_BB_SYSCTL(APPLET(sysctl, BB_DIR_SBIN, BB_SUID_DROP))
|
||||
|
||||
|
30
procps/top.c
30
procps/top.c
@@ -53,63 +53,63 @@
|
||||
//config: bool "top (17 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: The top program provides a dynamic real-time view of a running
|
||||
//config: system.
|
||||
//config: The top program provides a dynamic real-time view of a running
|
||||
//config: system.
|
||||
//config:
|
||||
//config:config FEATURE_TOP_INTERACTIVE
|
||||
//config: bool "Accept keyboard commands"
|
||||
//config: default y
|
||||
//config: depends on TOP
|
||||
//config: help
|
||||
//config: Without this, top will only refresh display every 5 seconds.
|
||||
//config: No keyboard commands will work, only ^C to terminate.
|
||||
//config: Without this, top will only refresh display every 5 seconds.
|
||||
//config: No keyboard commands will work, only ^C to terminate.
|
||||
//config:
|
||||
//config:config FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
||||
//config: bool "Show CPU per-process usage percentage"
|
||||
//config: default y
|
||||
//config: depends on TOP
|
||||
//config: help
|
||||
//config: Make top display CPU usage for each process.
|
||||
//config: This adds about 2k.
|
||||
//config: Make top display CPU usage for each process.
|
||||
//config: This adds about 2k.
|
||||
//config:
|
||||
//config:config FEATURE_TOP_CPU_GLOBAL_PERCENTS
|
||||
//config: bool "Show CPU global usage percentage"
|
||||
//config: default y
|
||||
//config: depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
||||
//config: help
|
||||
//config: Makes top display "CPU: NN% usr NN% sys..." line.
|
||||
//config: This adds about 0.5k.
|
||||
//config: Makes top display "CPU: NN% usr NN% sys..." line.
|
||||
//config: This adds about 0.5k.
|
||||
//config:
|
||||
//config:config FEATURE_TOP_SMP_CPU
|
||||
//config: bool "SMP CPU usage display ('c' key)"
|
||||
//config: default y
|
||||
//config: depends on FEATURE_TOP_CPU_GLOBAL_PERCENTS
|
||||
//config: help
|
||||
//config: Allow 'c' key to switch between individual/cumulative CPU stats
|
||||
//config: This adds about 0.5k.
|
||||
//config: Allow 'c' key to switch between individual/cumulative CPU stats
|
||||
//config: This adds about 0.5k.
|
||||
//config:
|
||||
//config:config FEATURE_TOP_DECIMALS
|
||||
//config: bool "Show 1/10th of a percent in CPU/mem statistics"
|
||||
//config: default y
|
||||
//config: depends on FEATURE_TOP_CPU_USAGE_PERCENTAGE
|
||||
//config: help
|
||||
//config: Show 1/10th of a percent in CPU/mem statistics.
|
||||
//config: This adds about 0.3k.
|
||||
//config: Show 1/10th of a percent in CPU/mem statistics.
|
||||
//config: This adds about 0.3k.
|
||||
//config:
|
||||
//config:config FEATURE_TOP_SMP_PROCESS
|
||||
//config: bool "Show CPU process runs on ('j' field)"
|
||||
//config: default y
|
||||
//config: depends on TOP
|
||||
//config: help
|
||||
//config: Show CPU where process was last found running on.
|
||||
//config: This is the 'j' field.
|
||||
//config: Show CPU where process was last found running on.
|
||||
//config: This is the 'j' field.
|
||||
//config:
|
||||
//config:config FEATURE_TOPMEM
|
||||
//config: bool "Topmem command ('s' key)"
|
||||
//config: default y
|
||||
//config: depends on TOP
|
||||
//config: help
|
||||
//config: Enable 's' in top (gives lots of memory info).
|
||||
//config: Enable 's' in top (gives lots of memory info).
|
||||
|
||||
//applet:IF_TOP(APPLET(top, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
@@ -16,16 +16,16 @@
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX #sysinfo()
|
||||
//config: help
|
||||
//config: uptime gives a one line display of the current time, how long
|
||||
//config: the system has been running, how many users are currently logged
|
||||
//config: on, and the system load averages for the past 1, 5, and 15 minutes.
|
||||
//config: uptime gives a one line display of the current time, how long
|
||||
//config: the system has been running, how many users are currently logged
|
||||
//config: on, and the system load averages for the past 1, 5, and 15 minutes.
|
||||
//config:
|
||||
//config:config FEATURE_UPTIME_UTMP_SUPPORT
|
||||
//config: bool "Show the number of users"
|
||||
//config: default y
|
||||
//config: depends on UPTIME && FEATURE_UTMP
|
||||
//config: help
|
||||
//config: Display the number of users currently logged on.
|
||||
//config: Display the number of users currently logged on.
|
||||
|
||||
//applet:IF_UPTIME(APPLET(uptime, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
@@ -15,8 +15,8 @@
|
||||
//config: bool "watch (4.1 kb)"
|
||||
//config: default y
|
||||
//config: help
|
||||
//config: watch is used to execute a program periodically, showing
|
||||
//config: output to the screen.
|
||||
//config: watch is used to execute a program periodically, showing
|
||||
//config: output to the screen.
|
||||
|
||||
//applet:IF_WATCH(APPLET(watch, BB_DIR_BIN, BB_SUID_DROP))
|
||||
|
||||
|
Reference in New Issue
Block a user