https://github.com/ClementTsang/bottom
Yet another cross-platform graphical process/system monitor.
https://github.com/ClementTsang/bottom
bottom btm cli cross-platform monitoring rust terminal top tui
Last synced: about 1 month ago
JSON representation
Yet another cross-platform graphical process/system monitor.
- Host: GitHub
- URL: https://github.com/ClementTsang/bottom
- Owner: ClementTsang
- License: mit
- Created: 2019-08-28T23:43:30.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T22:26:33.000Z (about 1 year ago)
- Last Synced: 2024-04-13T23:09:46.354Z (about 1 year ago)
- Topics: bottom, btm, cli, cross-platform, monitoring, rust, terminal, top, tui
- Language: Rust
- Homepage: https://clementtsang.github.io/bottom
- Size: 66.7 MB
- Stars: 8,784
- Watchers: 38
- Forks: 210
- Open Issues: 92
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome - ClementTsang/bottom - Yet another cross-platform graphical process/system monitor. (Rust)
- awesome-tuis - bottom
- awesome-rust-tools - bottom - platform graphical process/system monitor for the terminal. (System Monitor)
- fucking-Awesome-Linux-Software - ](https://github.com/ClementTsang/bottom/actions?query=branch%3Amaster) (Applications / System tools)
- awesome-repositories - ClementTsang/bottom - Yet another cross-platform graphical process/system monitor. (Rust)
- awesome-list - bottom - platform graphical process/system monitor. | ClementTsang | 2642 | (Rust)
- Awesome-Linux-Software - ](https://github.com/ClementTsang/bottom/actions?query=branch%3Amaster) (Applications / System tools)
- project-awesome - ClementTsang/bottom - Yet another cross-platform graphical process/system monitor. (Rust)
- awesome-ratatui - bottom - Cross-platform graphical process/system monitor. (๐ป Apps / ๐จโ๐ป System Administration)
- StarryDivineSky - ClementTsang/bottom
- awesome-starred - ClementTsang/bottom - Yet another cross-platform graphical process/system monitor. (cli)
- definitive-opensource - bottom - platform graphical process/system monitor. | `Cross` `CLI` | **11.1k** | (Table of Contents / System Monitoring)
- fucking-awesome-rust - bottom - Yet another cross-platform graphical process/system monitor. [](https://github.com/ClementTsang/bottom/actions?query=branch%3Amaster) (Applications / System tools)
- fucking-awesome-rust - bottom - Yet another cross-platform graphical process/system monitor. [](https://github.com/ClementTsang/bottom/actions?query=branch%3Amaster) (Applications / System tools)
- awesome-rust-zh - bottom - ่ทจๅนณๅฐๅฏ่งๅ่ตๆบ็ฎก็ๅจ
- awesome-rust-cn - bottom - (ๅบ็จ็จๅบ Applications / ็ณป็ปๅทฅๅ ท System tools)
README
bottom (btm)
A customizable cross-platform graphical process/system monitor for the terminal.
Supports Linux, macOS, and Windows. Inspired by gtop, gotop, and htop.
[
](https://github.com/ClementTsang/bottom/actions?query=branch%main)
[](https://crates.io/crates/bottom)
[](https://clementtsang.github.io/bottom/stable)
[](https://clementtsang.github.io/bottom/nightly)
## Table of contents
- [Features](#features)
- [Support](#support)
- [Official](#official)
- [Unofficial](#unofficial)
- [Installation](#installation)
- [Cargo](#cargo)
- [Alpine](#alpine)
- [Arch Linux](#arch-linux)
- [Debian / Ubuntu](#debian--ubuntu)
- [Exherbo Linux](#exherbo-linux)
- [Fedora / CentOS / AlmaLinux / Rocky Linux](#fedora--centos--almalinux--rocky-linux)
- [Gentoo](#gentoo)
- [Nix](#nix)
- [openSUSE](#opensuse)
- [Snap](#snap)
- [Solus](#solus)
- [Void](#void)
- [Homebrew](#homebrew)
- [MacPorts](#macports)
- [Chocolatey](#chocolatey)
- [Scoop](#scoop)
- [winget](#winget)
- [Windows installer](#windows-installer)
- [Conda](#conda)
- [Pre-built binaries](#pre-built-binaries)
- [Auto-completion](#auto-completion)
- [Usage](#usage)
- [Configuration](#configuration)
- [Troubleshooting](#troubleshooting)
- [Contribution](#contribution)
- [Contributors](#contributors)
- [Thanks](#thanks)## Features
As (yet another) process/system visualization and management application, bottom supports the typical features:
- Graphical visualization widgets for:
- [CPU usage](https://clementtsang.github.io/bottom/nightly/usage/widgets/cpu/) over time, at an average and per-core level
- [RAM and swap usage](https://clementtsang.github.io/bottom/nightly/usage/widgets/memory/) over time
- [Network I/O usage](https://clementtsang.github.io/bottom/nightly/usage/widgets/network/) over timewith support for zooming in/out the current time interval displayed.
- Widgets for displaying info about:
- [Disk capacity/usage](https://clementtsang.github.io/bottom/nightly/usage/widgets/disk/)
- [Temperature sensors](https://clementtsang.github.io/bottom/nightly/usage/widgets/temperature/)
- [Battery usage](https://clementtsang.github.io/bottom/nightly/usage/widgets/battery/)- [A process widget](https://clementtsang.github.io/bottom/nightly/usage/widgets/process/) for displaying, sorting, and searching info about processes, as well as support for:
- [Kill signals](https://clementtsang.github.io/bottom/nightly/usage/widgets/process/#process-termination)
- [Tree mode](https://clementtsang.github.io/bottom/nightly/usage/widgets/process/#tree-mode)- [Cross-platform support](https://github.com/ClementTsang/bottom#support) for Linux, macOS, and Windows, with more planned in the future.
- [Customizable behaviour](https://clementtsang.github.io/bottom/nightly/configuration/command-line-options/) that can be controlled with command-line options or a config file, such as:
- Custom and built-in colour themes
- Customizing widget behaviour
- Changing the layout of widgets
- Filtering out entries in some widgets- And more:
- [An htop-inspired basic mode](https://clementtsang.github.io/bottom/nightly/usage/basic-mode/)
- [Expansion, which focuses on just one widget](https://clementtsang.github.io/bottom/nightly/usage/general-usage/#expansion)- And more!
You can find more details in [the documentation](https://clementtsang.github.io/bottom/nightly/usage/general-usage/).
## Support
### Official
bottom _officially_ supports the following operating systems and corresponding architectures:
- macOS (`x86_64`, `aarch64`)
- Linux (`x86_64`, `i686`, `aarch64`)
- Windows (`x86_64`, `i686`)These platforms are tested to work for the most part and issues on these platforms will be fixed if possible.
Furthermore, binaries are built and tested using the most recent version of stable Rust at the time.For more details on supported platforms and known problems, check out [the documentation](https://clementtsang.github.io/bottom/nightly/support/official/).
### Unofficial
bottom may work on a number of platforms that aren't officially supported. Note that unsupported platforms:
- Might not be tested in CI to build or pass tests (see [here](./.github/workflows/ci.yml) for checked platforms).
- Might not be properly tested by maintainers prior to a stable release.
- May only receive limited support, such as missing features or bugs that may not be fixed.Note that some unsupported platforms may eventually be officially supported (e.g., FreeBSD).
A non-comprehensive list of some currently unofficially-supported platforms that may compile/work include:
- FreeBSD (`x86_64`)
- Linux (`armv6`, `armv7`, `powerpc64le`, `riscv64gc`)
- Android (`arm64`)For more details on unsupported platforms and known problems, check out [the documentation](https://clementtsang.github.io/bottom/nightly/support/unofficial/).
## Installation
### Cargo
Installation via `cargo` can be done by installing the [`bottom`](https://crates.io/crates/bottom) crate:
```bash
# You might need to update the stable version of Rust first.
# Other versions might work, but this is not guaranteed.
rustup update stable# Install the binary from crates.io.
cargo install bottom --locked# If you use another channel by default, you can specify
# the what channel to use like so:
cargo +stable install bottom --locked# --locked may be omitted if you wish to not use the
# locked crate versions in Cargo.lock. However, be
# aware that this may cause problems with dependencies.
cargo install bottom
```Alternatively, if you can use `cargo install` using the repo as the source.
```bash
# You might need to update the stable version of Rust first.
# Other versions might work, but this is not guaranteed.
rustup update stable# Option 1 - Download an archive from releases and install
curl -LO https://github.com/ClementTsang/bottom/archive/0.10.2.tar.gz
tar -xzvf 0.10.2.tar.gz
cargo install --path . --locked# Option 2 - Manually clone the repo and install
git clone https://github.com/ClementTsang/bottom
cd bottom
cargo install --path . --locked# Option 3 - Install using cargo with the repo as the source
cargo install --git https://github.com/ClementTsang/bottom --locked# You can also pass in the target-cpu=native flag for
# better CPU-specific optimizations. For example:
RUSTFLAGS="-C target-cpu=native" cargo install --path . --locked
```### Alpine
bottom is available as a [package](https://pkgs.alpinelinux.org/packages?name=bottom&branch=edge&repo=&arch=&origin=&flagged=&maintainer=) for Alpine Linux via `apk`:
```bash
apk add bottom
```Packages for documentation ([`bottom-doc`](https://pkgs.alpinelinux.org/packages?name=bottom-doc&branch=edge&repo=&arch=&origin=&flagged=&maintainer=)) and completions for Bash ([`bottom-bash-completion`](https://pkgs.alpinelinux.org/packages?name=bottom-bash-completion&branch=edge&repo=&arch=&origin=&flagged=&maintainer=)), Fish ([`bottom-fish-completion`](https://pkgs.alpinelinux.org/packages?name=bottom-fish-completion&branch=edge&repo=&arch=&origin=&flagged=&maintainer=)), and Zsh ([`bottom-zsh-completion`](https://pkgs.alpinelinux.org/packages?name=bottom-zsh-completion&branch=edge&repo=&arch=&origin=&flagged=&maintainer=)) are also available.
### Arch Linux
bottom is available as an [official package](https://archlinux.org/packages/extra/x86_64/bottom/) that can be installed with `pacman`:
```bash
sudo pacman -S bottom
```If you want the latest changes that are not yet stable, you can also install `bottom-git` [from the AUR](https://aur.archlinux.org/packages/bottom-git):
```bash
# Using paru
paru -S bottom-git# Using yay
yay -S bottom-git
```### Debian / Ubuntu
A `.deb` file is provided on each [stable release](https://github.com/ClementTsang/bottom/releases/latest) and
[nightly builds](https://github.com/ClementTsang/bottom/releases/tag/nightly) for x86, aarch64, and armv7.
Some examples of installing it this way:```bash
# x86-64
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom_0.10.2-1_amd64.deb
sudo dpkg -i bottom_0.10.2-1_amd64.deb# ARM64
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom_0.10.2-1_arm64.deb
sudo dpkg -i bottom_0.10.2-1_arm64.deb# ARM
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom_0.10.2-1_armhf.deb
sudo dpkg -i bottom_0.10.2-1_armhf.deb# musl-based
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom-musl_0.10.2-1_amd64.deb
sudo dpkg -i bottom-musl_0.10.2-1_amd64.deb
```### Exherbo Linux
bottom is available as a [rust package](https://gitlab.exherbo.org/exherbo/rust/-/tree/master/packages/sys-process/bottom) that can be installed with `cave`:
```bash
cave resolve -x repository/rust
cave resolve -x bottom
```### Fedora / CentOS / AlmaLinux / Rocky Linux
bottom is available on [COPR](https://copr.fedorainfracloud.org/coprs/atim/bottom/):
```bash
sudo dnf copr enable atim/bottom -y
sudo dnf install bottom
```bottom is also available via [Terra](https://terra.fyralabs.com/):
```bash
sudo dnf install --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' --setopt='terra.gpgkey=https://repos.fyralabs.com/terra$releasever/key.asc' terra-release
sudo dnf install bottom
````.rpm` files are also generated for x86 in the [releases](https://github.com/ClementTsang/bottom/releases) page.
For example:```bash
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.10.2/bottom-0.10.2-1.x86_64.rpm
sudo rpm -i bottom-0.10.2-1.x86_64.rpm
```### Gentoo
Available in the [official Gentoo repo](https://packages.gentoo.org/packages/sys-process/bottom):
```bash
sudo emerge --ask sys-process/bottom
```### Nix
Available [in Nixpkgs](https://search.nixos.org/packages?channel=unstable&show=bottom&from=0&size=1&sort=relevance&type=packages) as `bottom`:
```bash
nix profile install nixpkgs#bottom
````bottom` can also be installed and configured through the [home-manager](https://nix-community.github.io/home-manager) module:
```nix
{
programs.bottom.enable = true;
}
```### openSUSE
Available in openSUSE Tumbleweed:
```bash
zypper in bottom
```### Snap
bottom is available as a [snap](https://snapcraft.io/install/bottom/ubuntu):
```bash
sudo snap install bottom# To allow the program to run as intended
sudo snap connect bottom:mount-observe
sudo snap connect bottom:hardware-observe
sudo snap connect bottom:system-observe
sudo snap connect bottom:process-control
```### Solus
Available [in the Solus repos](https://dev.getsol.us/source/bottom/):
```bash
sudo eopkg it bottom
```### Void
Available [in the void-packages repo](https://github.com/void-linux/void-packages/tree/master/srcpkgs/bottom):
```bash
sudo xbps-install bottom
```### Homebrew
Formula available [here](https://formulae.brew.sh/formula/bottom):
```bash
brew install bottom
```### MacPorts
Available [here](https://ports.macports.org/port/bottom/):
```bash
sudo port selfupdate
sudo port install bottom
```### Chocolatey
Chocolatey packages are located [here](https://chocolatey.org/packages/bottom):
```bash
choco install bottom
```### Scoop
Available in the [Main bucket](https://github.com/ScoopInstaller/Main):
```bash
scoop install bottom
```### winget
The winget package can be found [here](https://github.com/microsoft/winget-pkgs/tree/master/manifests/c/Clement/bottom):
```bash
winget install bottom# If you need a more specific app id:
winget install Clement.bottom
```You can uninstall via Control Panel, Options, or `winget --uninstall bottom`.
### Windows installer
You can also manually install bottom as a Windows program by going to the [latest release](https://github.com/ClementTsang/bottom/releases/latest)
and installing via the `.msi` file.### Conda
You can install using `conda` with [this conda-smithy repository](https://github.com/conda-forge/bottom-feedstock):
```bash
# Add the channel
conda config --add channels conda-forge
conda config --set channel_priority strict# Install
conda install bottom
```### Pre-built binaries
You can also use the pre-built release binaries:
- [Latest stable release](https://github.com/ClementTsang/bottom/releases/latest), built using the release branch
- [Latest nightly release](https://github.com/ClementTsang/bottom/releases/tag/nightly), built using the `main` branch at 00:00 UTC dailyTo use, download and extract the binary that matches your system. You can then run by doing:
```bash
./btm
```or by installing to your system following the procedures for installing binaries to your system.
#### Auto-completion
The release binaries are packaged with shell auto-completion files for bash, fish, zsh, and Powershell. To install them:
- For bash, move `btm.bash` to `$XDG_CONFIG_HOME/bash_completion or /etc/bash_completion.d/`.
- For fish, move `btm.fish` to `$HOME/.config/fish/completions/`.
- For zsh, move `_btm` to one of your `$fpath` directories.
- For PowerShell, add `_btm.ps1` to your PowerShell
[profile]().The individual auto-completion files are also included in the stable/nightly releases as `completion.tar.gz`.
## Usage
You can run bottom using `btm`.
- For help on flags, use `btm -h` for a quick overview or `btm --help` for more details.
- For info on key and mouse bindings, press `?` inside bottom or refer to the [documentation](https://clementtsang.github.io/bottom/nightly/).You can find more information on usage in the [documentation](https://clementtsang.github.io/bottom/nightly/).
## Configuration
bottom accepts a number of command-line arguments to change the behaviour of the application as desired. Additionally, bottom will automatically
generate a configuration file on the first launch, which one can change as appropriate.More details on configuration can be found [in the documentation](https://clementtsang.github.io/bottom/nightly/configuration/config-file/).
## Troubleshooting
If some things aren't working, give the [troubleshooting page](https://clementtsang.github.io/bottom/nightly/troubleshooting) a look.
If things still aren't working, then consider opening [a question](https://github.com/ClementTsang/bottom/discussions)
or filing a [bug report](https://github.com/ClementTsang/bottom/issues/new/choose).## Contribution
Whether it's reporting bugs, suggesting features, maintaining packages, or submitting a PR,
contribution is always welcome! Please read [CONTRIBUTING.md](./CONTRIBUTING.md) for details on how to
contribute to bottom.### Contributors
Thanks to all contributors:
Marcin Wojnarowski
๐ป ๐ฆ
Mahmoud Al-Qudsi
๐ป
Andy
๐ป
Kim Brose
๐ป
Sven-Hendrik Haase
๐
Artem Polishchuk
๐ฆ ๐
Trung Lรช
๐ฆ ๐
dm9pZCAq
๐ฆ ๐
Lukas Rysavy
๐ป
Erlend Hamberg
๐ป
Frederick Zhang
๐ป
pvanheus
๐ป
Zeb Piasecki
๐ป
Brian Di Palma
๐
Lasha Kanteladze
๐
Herby Gillot
๐
Greg Brown
๐ป
TotalCaesar659
๐
George Rawlinson
๐ ๐ฆ
adiabatic
๐
Randy Barlow
๐ป
Patrick Jackson
๐ค ๐
Mateusz Mikuลa
๐ป
Guillaume Gomez
๐ป
shura
๐ป
Wesley Moore
๐ป
xgdgsc
๐
ViridiCanis
๐ป
Justin Martin
๐ป ๐
Diana
๐ป
Hervy Qurrotul Ainur Rozi
๐
Mike Rivnak
๐
lroobrou
๐ป
database64128
๐ป
Chon Sou
๐ป
DrSheppard
๐
Rareศ Constantin
๐ป
felipesuri
๐
spital
๐ป
Michael Bikovitsky
๐ป
Dmitry Valter
๐ป
Twan Stok
๐ป
Yuxuan Shui
๐ป
Wenqing Zong
๐ป
Gabriele Belluardo
๐ป
Zeb Piasecki
๐ป
wzy
๐ป ๐
john-s-lin
๐
Lee Wonjoon
๐ป ๐
David Legrand
๐
Michal Bryxรญ
๐
Raphael Erik Hviding
๐ป
CosmicHorror
๐ป
Ben Woods
๐
Stephen Huan
๐ป
Jason Gwartz
๐
llc0930
๐ป
Ada Ahmed
๐ป
Wateir
๐
Andrey Alekseenko
๐ป
Fotis Gimian
๐ป ๐
Fernando Rodrigues
๐
Matthew Toohey
๐ป
Julius Enriquez
๐
## Thanks
- This project is very much inspired by [gotop](https://github.com/xxxserxxx/gotop),
[gtop](https://github.com/aksakalli/gtop), and [htop](https://github.com/htop-dev/htop/).- This application was written with many, _many_ libraries, and built on the
work of many talented people. This application would be impossible without their
work. I used to thank them all individually but the list got too large...- And of course, another round of thanks to all the contributors and package maintainers!