bottom README

The project's README from github.com/ClementTsang/bottom. As one markdown file: README.md.

bottom (btm)

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

crates.io link Stable documentation Nightly documentation Doc mirror on GitHub Pages Ko-fi link

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

Demo using the Gruvbox theme (--theme 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:

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.

Unofficial

bottom may work on a number of platforms that aren't officially supported. Note that unsupported platforms:

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:

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:

# 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, you can use cargo install using the repo as the source.

# 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.14.9.tar.gz
tar -xzvf 0.14.9.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 to try to
# use better CPU-specific optimizations. For example:
RUSTFLAGS="-C target-cpu=native" cargo install --path . --locked

Alpine

bottom is available as a package for Alpine Linux via apk:

apk add bottom

Packages for documentation (bottom-doc) and completions for Bash (bottom-bash-completion), Fish (bottom-fish-completion), and Zsh (bottom-zsh-completion) are also available.

Arch Linux

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

sudo pacman -S bottom

If you want the latest changes that are not yet stable, you can also install bottom-git from the AUR:

# Using paru
paru -S bottom-git

# Using yay
yay -S bottom-git

Debian / Ubuntu

A .deb file is provided on each stable release and nightly builds for x86, aarch64, and armv7. Some examples of installing it this way:

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

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

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

# musl-based
curl -LO https://github.com/ClementTsang/bottom/releases/download/0.14.9/bottom-musl_0.14.9-1_amd64.deb
sudo dpkg -i bottom-musl_0.14.9-1_amd64.deb

Exherbo Linux

bottom is available as a rust package that can be installed with cave:

cave resolve -x repository/rust
cave resolve -x bottom

Fedora / CentOS / AlmaLinux / Rocky Linux

COPR

[!WARNING]

atim/bottom seems to be unmaintained and may be outdated (relevant issue)

bottom is available on COPR:

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

Terra

bottom is also available via Terra:

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

.rpm files are also generated for x86 in the releases page. For example:

curl -LO https://github.com/ClementTsang/bottom/releases/download/0.14.9/bottom-0.14.9-1.x86_64.rpm
sudo dnf install ./bottom-0.14.9-1.x86_64.rpm

Gentoo

Available in the official Gentoo repo:

sudo emerge --ask sys-process/bottom

Nix

Available in Nixpkgs as bottom:

nix profile install nixpkgs#bottom

bottom can also be installed and configured through the home-manager module:

{
  programs.bottom.enable = true;
}

openSUSE

Available in openSUSE Tumbleweed:

zypper in bottom

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

Solus

Available in the Solus repos:

sudo eopkg it bottom

Void

Available in the void-packages repo:

sudo xbps-install bottom

Homebrew

The formula is available here:

brew install bottom

MacPorts

Available here:

sudo port selfupdate
sudo port install bottom

Chocolatey

Chocolatey packages are located here:

choco install bottom

Scoop

Available in the Main bucket:

scoop 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 (MSI)

You can manually install bottom as a Windows program by downloading and using the .msi file from the latest release.

Conda

You can install bottom using conda with this conda-smithy repository:

# Add the channel
conda config --add channels conda-forge
conda config --set channel_priority strict

# Install
conda install bottom

gah

bottom can also be installed on Linux or macOS using gah:

gah install bottom

ghr

bottom can be installed using ghr like so:

ghr install clementtsang/bottom

mise

bottom is available via mise:

mise use -g bottom@latest

Pre-built binaries

You can also use the pre-built release binaries:

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 the procedures for installing binaries to your system.

Auto-completion

The release binaries in the releases page are packaged with shell auto-completion files for Bash, Zsh, fish, Powershell, Elvish, Fig, and Nushell. To install them:

The individual auto-completion files are also included in the stable/nightly releases as completion.tar.gz if needed.

Usage

You can run bottom using btm.

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 can be changed.

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 asking a question or filing a bug report if you think it's a bug.

Documentation

The main documentation page can be found at https://bottom.pages.dev, using Cloudflare Pages. If needed, a mirror hosted using Github Pages is also available at https://clementtsang.github.io/bottom.

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ê

📦 🚇

bottom (ClementTsang/bottom)

Searching Database…

14.1K ·GitHub
Что это такое?bottom (btm) — это настраиваемый графический монитор процессов и системы, который работает прямо в терминале. Он показывает графики в реальном времени: загрузку процессора, памяти, сети, дисков и температуру, и работает на Linux, macOS и Windows.
То есть это терминальная программа вроде htop или отдельное графическое приложение?Это TUI-программа, которая полностью работает в терминале, но с графическими элементами: прокручиваемые графики, сортируемая таблица процессов и раскрывающиеся панели. Есть и упрощённый базовый режим в духе htop, если хочется чего-то попроще.
Как его установить и запустить?Установите командой cargo install bottom или возьмите из пакетного менеджера — поддерживаются Homebrew, winget, Chocolatey, Scoop, pacman, файлы .deb, snap, Nix, conda и многие другие. Потом просто запустите btm.
Нужен ли заранее установленный Rust или что-то ещё?Только если вы ставите через cargo. Готовые сборки stable и nightly и системные пакеты не требуют ничего дополнительного, а бинарники собираются самой свежей стабильной версией Rust.
Есть ли ограничения по платформам, о которых стоит знать?Официально поддерживаются macOS (x86_64, aarch64), Linux (x86_64, i686, aarch64) и Windows (x86_64, i686). Другие платформы, например FreeBSD, Android (arm64) или Windows on ARM, могут собраться и заработать, но получают лишь ограниченную поддержку.
Что именно я могу в нём отслеживать?Графики по времени для процессора (среднего и по ядрам), RAM и swap, сетевого ввода-вывода, температуры и дискового ввода-вывода, с масштабированием отображаемого интервала времени. Отдельные виджеты показывают ёмкость дисков, датчики температуры и расход батареи.
Можно ли управлять процессами прямо из него?Да — виджет процессов позволяет просматривать, сортировать и искать информацию о процессах, отправлять сигналы kill и переключаться в режим дерева.
Насколько можно настраивать внешний вид и расположение?Довольно сильно: параметры командной строки или файл конфигурации (создаётся автоматически при первом запуске) управляют встроенными и своими цветовыми темами, расположением и поведением виджетов и фильтрацией записей. Также можно развернуть виджет на весь экран, чтобы сосредоточиться только на нём.
Есть ли автодополнение для командной оболочки?Да — в релизных сборках идут файлы автодополнения для Bash, Zsh, fish, PowerShell, Elvish, Fig и Nushell, с инструкциями по установке для каждой оболочки в README.
What are similar projects?ctop, lsoff, dust, bpytop, bandwhich, btop, nvitop, oha
Size
88.7 MB
Stars
14.1K
Age
7y
Commits · 90 Days