• Stars
    star
    7,078
  • Rank 5,508 (Top 0.2 %)
  • Language
    Rust
  • License
    MIT License
  • Created about 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Yet another cross-platform graphical process/system monitor.

bottom

A customizable cross-platform graphical process/system monitor for the terminal.
Supports Linux, macOS, and Windows. Inspired by gtop, gotop, and htop.

CI status crates.io link Stable documentation Nightly documentation

Quick demo recording showing off bottom's searching, expanding, and process killing.

Demo using the Gruvbox theme (--color gruvbox), along with IBM Plex Mono and Kitty

Table of contents

Features

As (yet another) process/system visualization and management application, bottom supports the typical features:

You can find more details in the documentation.

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 expected to be 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.

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 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)

For more details on unsupported platforms and known problems, check out the documentation.

Installation

Cargo

Installation via cargo can be done by installing the bottom crate:

# If required, update Rust to the stable channel first:
rustup update stable

# Install
cargo install bottom --locked

# If you use another channel by default, you can specify
# the stable channel 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

Arch Linux

bottom is available as an official package that can be installed with pacman:

sudo pacman -S bottom

Debian / Ubuntu

A .deb file is provided on each stable release and nightly builds for x86, aarch64, and armv7 (note stable ARM builds are only available for 0.6.8 and later). An example of installing this way:

# x86-64
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.9.6/bottom_0.9.6_amd64.deb
sudo dpkg -i bottom_0.9.6_amd64.deb

# ARM64
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.9.6/bottom_0.9.6_arm64.deb
sudo dpkg -i bottom_0.9.6_arm64.deb

# ARM
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.9.6/bottom_0.9.6_armhf.deb
sudo dpkg -i bottom_0.9.6_armhf.deb

Snap

bottom is available as a snap:

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

Fedora / CentOS / AlmaLinux / Rocky Linux

bottom is available in COPR:

sudo dnf copr enable atim/bottom -y
sudo dnf install bottom

.rpm files are also generated (starting from 0.9.3) for x86. If you wish to install this way, then you can do something like:

# x86-64
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.9.6/bottom-0.9.6-1.x86_64.rpm
sudo rpm -i bottom-0.9.6-1.x86_64.rpm

# Nightly x86-64
curl -LO https://github.com/ClementTsang/bottom/releases/download/nightly/bottom-0.9.6-1.x86_64.rpm
sudo rpm -i bottom-0.9.6-1.x86_64.rpm

Gentoo

Available in the official Gentoo repo:

sudo emerge --ask sys-process/bottom

Nix

Available in the nix-community repo:

nix-env -i bottom

Solus

Available in the Solus repos:

sudo eopkg it bottom

Void

Available in the void-packages repo:

sudo xbps-install bottom

Homebrew

Formula available here:

brew install bottom

MacPorts

Available here:

sudo port selfupdate
sudo port install bottom

Scoop

Available in the Main bucket:

scoop install bottom

Chocolatey

Chocolatey packages are located here:

choco install bottom

winget

The winget package can be found here:

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 and installing via the .msi file.

Manual installation

There are a few ways to go about doing this manually. Note that you probably want to do so using the most recent version of stable Rust, which is how the binaries are built:

# If required, update Rust on the stable channel first
rustup update stable

# Option 1 - Download from releases and install
curl -LO https://github.com/ClementTsang/bottom/archive/0.9.6.tar.gz
tar -xzvf 0.9.6.tar.gz
cargo install --path . --locked

# Option 2 - Clone from master and install manually
git clone https://github.com/ClementTsang/bottom
cd bottom
cargo install --path . --locked

# Option 3 - Clone and install directly from the repo all via Cargo
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

Binaries

You can also use the pre-built release binaries manually:

To use, download and extract the binary that matches your system. You can then run by doing:

./btm

or by installing to your system following whatever the procedure is for installing a binary 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.

You can find more information on usage in the documentation.

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.

Troubleshooting

If some things aren't working, give the troubleshooting page a look. If things still aren't working, then consider opening a question or filing a bug report.

Contribution

Whether it's reporting bugs, suggesting features, maintaining packages, or submitting a PR, contribution is always welcome! Please read CONTRIBUTING.md for details on how to contribute to bottom.

Contributors

Thanks to all contributors:

Marcin Wojnarowski
Marcin Wojnarowski

๐Ÿ’ป ๐Ÿ“ฆ
Mahmoud Al-Qudsi
Mahmoud Al-Qudsi

๐Ÿ’ป
Andy
Andy

๐Ÿ’ป
Kim Brose
Kim Brose

๐Ÿ’ป
Sven-Hendrik Haase
Sven-Hendrik Haase

๐Ÿ“–
Artem Polishchuk
Artem Polishchuk

๐Ÿ“ฆ ๐Ÿ“–
Trung Lรช
Trung Lรช

๐Ÿ“ฆ ๐Ÿš‡
dm9pZCAq
dm9pZCAq

๐Ÿ“ฆ ๐Ÿ“–
Lukas Rysavy
Lukas Rysavy

๐Ÿ’ป
Erlend Hamberg
Erlend Hamberg

๐Ÿ’ป
Frederick Zhang
Frederick Zhang

๐Ÿ’ป
pvanheus
pvanheus

๐Ÿ’ป
Zeb Piasecki
Zeb Piasecki

๐Ÿ’ป
Brian Di Palma
Brian Di Palma

๐Ÿ“–
Lasha Kanteladze
Lasha Kanteladze

๐Ÿ“–
Herby Gillot
Herby Gillot

๐Ÿ“–
Greg Brown
Greg Brown

๐Ÿ’ป
TotalCaesar659
TotalCaesar659

๐Ÿ“–
George Rawlinson
George Rawlinson

๐Ÿ“– ๐Ÿ“ฆ
adiabatic
adiabatic

๐Ÿ“–
Randy Barlow
Randy Barlow

๐Ÿ’ป
Patrick Jackson
Patrick Jackson

๐Ÿค” ๐Ÿ“–
Mateusz Mikuล‚a
Mateusz Mikuล‚a

๐Ÿ’ป
Guillaume Gomez
Guillaume Gomez

๐Ÿ’ป
shura
shura

๐Ÿ’ป
Wesley Moore
Wesley Moore

๐Ÿ’ป
xgdgsc
xgdgsc

๐Ÿ“–
ViridiCanis
ViridiCanis

๐Ÿ’ป
Justin Martin
Justin Martin

๐Ÿ’ป ๐Ÿ“–
Diana
Diana

๐Ÿ’ป
Hervy Qurrotul Ainur Rozi
Hervy Qurrotul Ainur Rozi

๐Ÿ“–
Mike Rivnak
Mike Rivnak

๐Ÿ“–
lroobrou
lroobrou

๐Ÿ’ป
database64128
database64128

๐Ÿ’ป
Chon Sou
Chon Sou

๐Ÿ’ป
DrSheppard
DrSheppard

๐Ÿ“–
Rareศ™ Constantin
Rareศ™ Constantin

๐Ÿ’ป
felipesuri
felipesuri

๐Ÿ“–
spital
spital

๐Ÿ’ป
Michael Bikovitsky
Michael Bikovitsky

๐Ÿ’ป
Dmitry Valter
Dmitry Valter

๐Ÿ’ป
Twan Stok
Twan Stok

๐Ÿ’ป
Yuxuan Shui
Yuxuan Shui

๐Ÿ’ป
Wenqing Zong
Wenqing Zong

๐Ÿ’ป
Gabriele Belluardo
Gabriele Belluardo

๐Ÿ’ป
Zeb Piasecki
Zeb Piasecki

๐Ÿ’ป

Thanks

  • This project is very much inspired by gotop, gtop, and 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!

More Repositories

1

rustcc

A (toy) C compiler written in Rust.
Rust
41
star
2

polify

A low-poly image generation library, with WASM support.
Rust
17
star
3

cargo-action

A simple GitHub Action to invoke cargo and subcommands.
Rust
9
star
4

RustNAO

A wrapper of the SauceNAO API in Rust.
Rust
9
star
5

opal

opal is a static webapp to look up the IPA phonetics of words or vice versa.
Rust
3
star
6

cargo-deb-arm

Dockerfile based on cross for aarch64, containing cargo deb.
Dockerfile
3
star
7

choco-bottom

Repo for holding chocolatey files for bottom.
PowerShell
2
star
8

Transcripter

A simple program to get trasncriptions from files with audio.
F#
2
star
9

foto

A demo image repository backend, written for Shopify's coding challenge.
Rust
2
star
10

aur-bottom

AUR PKGBUILDs for bottom.
Shell
2
star
11

wlp4_compiler

The resulting compiled files of the wlp4 compiler.
Assembly
2
star
12

homebrew-bottom

Homebrew repo for bottom.
Ruby
2
star
13

docker-check-base-image-diff

A Github Action that checks for Docker base image updates. Leverages skopeo and jq.
Shell
2
star
14

aoc_2021

Personal AoC (Advent of Code) 2021 work.
Turing
1
star
15

dotfiles

Some public dotfiles and scripts.
Shell
1
star
16

ClementTsang

Profile README
1
star
17

dircs

A small cross-platform utility to get a hash of a file or directory.
Rust
1
star
18

braincluck

A bf interpreter library and web app
Rust
1
star
19

aoc_2022

Bad 2022 Advent of Code solutions
Python
1
star
20

sudoview

A script that uses OpenCV and PyTesseract to solve images of Sudoku puzzles.
Python
1
star
21

shar_search

Implements Shar's algorithm in Rust for branchless binary search.
Rust
1
star
22

almalinux-8-rust

An AlmaLinux 8 Docker image set up for Rust CI actions.
Dockerfile
1
star
23

Banshee

Osu-inspired game that was done for a Gr. 12 CS final project.
C++
1
star
24

collapse_if_slowdown

Demo repo showing a slowdown when collapsing an if statement.
Rust
1
star
25

sql.js-httpvfs-rs

A Rust wrapper around sql.js-httpvfs
TypeScript
1
star
26

kobo_wifi_weather

A Kobo Wifi weather display
Python
1
star
27

clementtsang.github.io

Personal website source code using Svelte. Hosted using GitHub Pages.
Svelte
1
star
28

brainfC

A WIP Brainf**k <=> C transpiler.
Go
1
star