-
-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
5 changed files
with
109 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,9 @@ stage/ | |
*.out | ||
*.app | ||
|
||
# Compiled man page | ||
btop.1 | ||
|
||
build | ||
bin | ||
btop | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
% 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". |