btop/manpage.md
Otto Kekäläinen ed68589af1 Create man page for btop in Markdown
Create a man page in Markdown format so that it can be read online on
GitHub etc and it can be edited much more easily than a raw troff/groff
file.

Compile it to proper man page format at build-time using 'lowdown' if
it is available on the system, otherwise just issue a warning in yellow.

Tested to work both with:

    export VERBOSE=1
    make
    make install
    make uninstall

    cmake -B build
    cmake --build build --verbose

While Lowdown is easy to manually install in all modern Linux distros
and also Homebrew for Mac, this commit does not add 'lowdown' in any
build dependencies or in the CI, that needs to be done separately.
2024-03-03 15:37:35 -08:00

1.4 KiB

% btop(1) | User Commands % % "January 4 2024"

NAME

btop - Resource monitor that shows usage and stats for processor, memory, disks, network, and processes.

SYNOPSIS

btop [-lc] [-t | +t] [-p id] [--utf-force] [--debug] [{-h | --help} | {-v | --version}]

DESCRIPTION

btop is a program that shows usage and stats for processor, memory, disks, network, and processes.

OPTIONS

The program follows the usual GNU command line syntax, with long options starting with two dashes ('-'). A summary of options is included below.

-lc, --low-color
Disable truecolor, converts 24-bit colors to 256-color.
-t, --tty_on
Force (ON) tty mode, max 16 colors and tty-friendly graph symbols.
+t, --tty_off
Force (OFF) tty mode.
-p, --preset id
Start with preset, integer value between 0-9.
--utf-force
Force start even if no UTF-8 locale was detected.
--debug
Start in DEBUG mode: shows microsecond timer for information collect and screen draw functions and sets loglevel to DEBUG.
-h, --help
Show summary of options.
-v, --version
Show version of program.

BUGS

The upstream bug tracker can be found at https://github.com/aristocratos/btop/issues.

SEE ALSO

top(1), htop(1)

AUTHOR

btop was written by Jakob P. Liljenberg a.k.a. "Aristocratos".