Bottom (shortly btm) is a highly customisable, cross-platform graphical real-time process and system monitor designed for use in the terminal. It's inspired by tools like gtop, gotop, and htop. Bottom is an opensource application written in Rust programming language.
In this blog post, we will discuss its features, installation process, and usage.
Table of Contents
Features of Bottom
Bottom offers a number of useful features for monitoring and managing system resources and processes. Some of its key features include:
- Graphical Visualisation Widgets: Bottom provides visually appealing graphical widgets to track CPU usage, RAM and swap usage, and network I/O usage over time. These widgets support zooming in and out to focus on specific time intervals.
- Informative Widgets: Bottom offers widgets that display real-time information about disk capacity and usage, temperature sensors, and battery usage.
- Advanced Process Management: A dedicated process widget allows users to view, sort, and search for information about running processes. It also supports sending kill signals and viewing processes in a hierarchical tree structure.
- Cross-Platform Compatibility: Bottom runs seamlessly on Linux, macOS, and Windows operating systems.
- Customisability: Bottom offers extensive customisation options through command-line arguments and a configuration file. Users can personalise themes, modify widget behaviour, adjust widget layouts, and filter widget entries.
- Additional Modes: Bottom includes an htop-inspired basic mode and an expansion mode that focuses on a single widget for detailed analysis.
Install Bottom in Linux
Bottom can be installed using various methods depending on the operating system.
Install Bottom using Cargo
For users familiar with the Cargo package manager, Bottom can be installed directly from crates.io or by using the source code from the GitHub repository.
From crates.io
You can install the Bottom crate using cargo install. Please note that you should install Rust programming to use cargo package manager.
# Update to the stable version of Rust.rustup update stable# Install the binary from crates.io.cargo install bottom --locked# If you use another channel by default, you can specify# the channel to use like so:cargo +stable install bottom --locked# --locked may be omitted if you do not want to use the# locked crate versions in Cargo.lock. However, be# aware that this may cause problems with dependencies.cargo install bottom
The --locked flag ensures that the installation uses the locked crate versions specified in the Cargo.lock file. Omitting this flag may lead to dependency issues.
From the GitHub repository
You can also install Bottom directly from the GitHub repository using cargo install. The sources list three options for doing this:
1. Download an archive and install:
# Update to the stable version of Rust.rustup update stable# Install the binary from crates.io.cargo install bottom --locked# If you use another channel by default, you can specify# the channel to use like so:cargo +stable install bottom --locked# --locked may be omitted if you do not want to use the# locked crate versions in Cargo.lock. However, be# aware that this may cause problems with dependencies.cargo install bottom
2. Clone the repository and install:
# Update to the stable version of Rust. rustup update stable # Download the archive curl -LO https://github.com/ClementTsang/bottom/archive/0.10.2.tar.gz # Extract the archive tar -xzvf 0.10.2.tar.gz # Install from the extracted directory cargo install --path . --locked
3. Install with the repository as the source:
# Update to the stable version of Rust.rustup update stable# Clone the repogit clone https://github.com/ClementTsang/bottom# Navigate to the repo directorycd bottom# Install from the repo directorycargo install --path . --locked
You can also add the RUSTFLAGS="-C target-cpu=native" flag to any of these commands for CPU-specific optimisations:
# Update to the stable version of Rust.rustup update stablecargo install --git https://github.com/ClementTsang/bottom --locked
Remember to replace version numbers and paths with the appropriate values.
Installing Bottom using Default Package Managers
Bottom is available in the official repositories of several Linux distributions, including Arch Linux, Debian, Ubuntu, Fedora, CentOS, AlmaLinux, Rocky Linux, Gentoo, Nix, Snap, Solus, and Void. Users of these distributions can install Bottom using their respective package managers.
Arch Linux:
Bottom is available as an official package and can be installed using the following command:
RUSTFLAGS="-C target-cpu=native" cargo install --path . --locked
The latest development version is available as bottom-git from the AUR and can be installed with an AUR helper like paru or yay:
sudo pacman -S bottom
Debian/Ubuntu:
A .deb file is provided for each stable release and nightly build for different architectures (x86, aarch64, and armv7).
You can download and install the appropriate .deb file using the following commands (replace version numbers accordingly):
# Using paru sudo paru -S bottom-git # Using yay sudo yay -S bottom-git
Fedora/CentOS/AlmaLinux/Rocky Linux:
Bottom is available through COPR. Enable the repository and install the package:
# x86-64curl -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
You can also download and install the .rpm file from the releases page (replace version number accordingly):
sudo dnf copr enable atim/bottom -y sudo dnf install bottom
Gentoo:
Install Bottom from the official Gentoo repository using emerge:
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
NixOS:
Install Bottom from the nix-community repository:
sudo emerge --ask sys-process/bottom
Snap:
Install the Bottom snap package and connect the necessary interfaces:
nix-env -i bottom
Solus:
Install Bottom using the eopkg package manager:
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
Void Linux:
Install Bottom from the void-packages repository:
sudo eopkg it bottom
Remember to adjust the commands according to your specific Linux distribution and version.
Monitor Linux System Resource Usage Using Bottom
Once installed, you can launch Bottom by typing btm in your terminal.
sudo xbps-install bottom
Main Interface:
When you runbtm, you'll see a main interface that displays CPU, memory, disk, and network usage.
The top section shows CPU usage, broken down by cores. The middle section shows memory usage, including RAM and swap, temperature and disk information. And the bottom section shows network I/O and processes information.
- CPU Usage: Shows per-core usage with nice color-coded graphs.
- Memory Usage: Visualizes RAM and swap usage.
- Disk Usage: Displays disk usage and read/write speeds per drive.
- Network Usage: Monitors real-time upload and download speeds.
- Process Monitoring: Lists processes with information on their CPU, memory usage, and more.
Just click on any section to jump into it.
Help and Key Bindings
For a quick overview of command-line flags, use btm -h. For more detailed information, use btm --help. To view key and mouse bindings, press ? inside Bottom.
Press ESC key to close the help window.
You can find more details in the Bottom's documentation.
Customizing the Display
You can further customize btm with a configuration file (bottom.toml) located in ~/.config/bottom/. This lets you change colors, default views, and other settings.
Conclusion
Bottom (btm) is a powerful and versatile terminal-based system monitor packed with many useful features. Its intuitive interface, customisability, and cross-platform compatibility make it an excellent choice for users seeking a comprehensive and visually appealing way to monitor their systems.
Related Read:
- Good Alternatives to top, the Command line Task Manager
The above is the detailed content of Bottom: A Customizable Real-time Process and System Monitor. For more information, please follow other related articles on the PHP Chinese website!


For years, Linux software distribution relied on native formats like DEB and RPM, deeply ingrained in each distribution's ecosystem. However, Flatpak and Snap have emerged, promising a universal approach to application packaging. This article exami

The differences between Linux and Windows in handling device drivers are mainly reflected in the flexibility of driver management and the development environment. 1. Linux adopts a modular design, and the driver can be loaded and uninstalled dynamically. Developers need to have an in-depth understanding of the kernel mechanism. 2. Windows relies on the Microsoft ecosystem, and the driver needs to be developed through WDK and signed and certified. The development is relatively complex but ensures the stability and security of the system.

The security models of Linux and Windows each have their own advantages. Linux provides flexibility and customizability, enabling security through user permissions, file system permissions, and SELinux/AppArmor. Windows focuses on user-friendliness and relies on WindowsDefender, UAC, firewall and BitLocker to ensure security.

Linux and Windows differ in hardware compatibility: Windows has extensive driver support, and Linux depends on the community and vendors. To solve Linux compatibility problems, you can manually compile drivers, such as cloning RTL8188EU driver repository, compiling and installing; Windows users need to manage drivers to optimize performance.

The main differences between Linux and Windows in virtualization support are: 1) Linux provides KVM and Xen, with outstanding performance and flexibility, suitable for high customization environments; 2) Windows supports virtualization through Hyper-V, with a friendly interface, and is closely integrated with the Microsoft ecosystem, suitable for enterprises that rely on Microsoft software.

The main tasks of Linux system administrators include system monitoring and performance tuning, user management, software package management, security management and backup, troubleshooting and resolution, performance optimization and best practices. 1. Use top, htop and other tools to monitor system performance and tune it. 2. Manage user accounts and permissions through useradd commands and other commands. 3. Use apt and yum to manage software packages to ensure system updates and security. 4. Configure a firewall, monitor logs, and perform data backup to ensure system security. 5. Troubleshoot and resolve through log analysis and tool use. 6. Optimize kernel parameters and application configuration, and follow best practices to improve system performance and stability.

Learning Linux is not difficult. 1.Linux is an open source operating system based on Unix and is widely used in servers, embedded systems and personal computers. 2. Understanding file system and permission management is the key. The file system is hierarchical, and permissions include reading, writing and execution. 3. Package management systems such as apt and dnf make software management convenient. 4. Process management is implemented through ps and top commands. 5. Start learning from basic commands such as mkdir, cd, touch and nano, and then try advanced usage such as shell scripts and text processing. 6. Common errors such as permission problems can be solved through sudo and chmod. 7. Performance optimization suggestions include using htop to monitor resources, cleaning unnecessary files, and using sy


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Linux new version
SublimeText3 Linux latest version

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

Dreamweaver Mac version
Visual web development tools
