亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Table of Contents
Features of Bottom
Install Bottom in Linux
Install Bottom using Cargo
From crates.io
From the GitHub repository
Installing Bottom using Default Package Managers
Monitor Linux System Resource Usage Using Bottom
Help and Key Bindings
Customizing the Display
Conclusion
Home System Tutorial LINUX Bottom: A Customizable Real-time Process and System Monitor

Bottom: A Customizable Real-time Process and System Monitor

Mar 08, 2025 am 10:52 AM

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:

Bottom: A Customizable Real-time Process and System Monitor

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.

Bottom: A Customizable Real-time Process and System Monitor

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!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

PHP Tutorial
1488
72
Install LXC (Linux Containers) in RHEL, Rocky & AlmaLinux Install LXC (Linux Containers) in RHEL, Rocky & AlmaLinux Jul 05, 2025 am 09:25 AM

LXD is described as the next-generation container and virtual machine manager that offers an immersive for Linux systems running inside containers or as virtual machines. It provides images for an inordinate number of Linux distributions with support

How to troubleshoot DNS issues on a Linux machine? How to troubleshoot DNS issues on a Linux machine? Jul 07, 2025 am 12:35 AM

When encountering DNS problems, first check the /etc/resolv.conf file to see if the correct nameserver is configured; secondly, you can manually add public DNS such as 8.8.8.8 for testing; then use nslookup and dig commands to verify whether DNS resolution is normal. If these tools are not installed, you can first install the dnsutils or bind-utils package; then check the systemd-resolved service status and configuration file /etc/systemd/resolved.conf, and set DNS and FallbackDNS as needed and restart the service; finally check the network interface status and firewall rules, confirm that port 53 is not

How would you debug a server that is slow or has high memory usage? How would you debug a server that is slow or has high memory usage? Jul 06, 2025 am 12:02 AM

If you find that the server is running slowly or the memory usage is too high, you should check the cause before operating. First, you need to check the system resource usage, use top, htop, free-h, iostat, ss-antp and other commands to check CPU, memory, disk I/O and network connections; secondly, analyze specific process problems, and track the behavior of high-occupancy processes through tools such as ps, jstack, strace; then check logs and monitoring data, view OOM records, exception requests, slow queries and other clues; finally, targeted processing is carried out based on common reasons such as memory leaks, connection pool exhaustion, cache failure storms, and timing task conflicts, optimize code logic, set up a timeout retry mechanism, add current limit fuses, and regularly pressure measurement and evaluation resources.

Install Guacamole for Remote Linux/Windows Access in Ubuntu Install Guacamole for Remote Linux/Windows Access in Ubuntu Jul 08, 2025 am 09:58 AM

As a system administrator, you may find yourself (today or in the future) working in an environment where Windows and Linux coexist. It is no secret that some big companies prefer (or have to) run some of their production services in Windows boxes an

How to Burn CD/DVD in Linux Using Brasero How to Burn CD/DVD in Linux Using Brasero Jul 05, 2025 am 09:26 AM

Frankly speaking, I cannot recall the last time I used a PC with a CD/DVD drive. This is thanks to the ever-evolving tech industry which has seen optical disks replaced by USB drives and other smaller and compact storage media that offer more storage

How to find my private and public IP address in Linux? How to find my private and public IP address in Linux? Jul 09, 2025 am 12:37 AM

In Linux systems, 1. Use ipa or hostname-I command to view private IP; 2. Use curlifconfig.me or curlipinfo.io/ip to obtain public IP; 3. The desktop version can view private IP through system settings, and the browser can access specific websites to view public IP; 4. Common commands can be set as aliases for quick call. These methods are simple and practical, suitable for IP viewing needs in different scenarios.

How to Install NodeJS 14 / 16 & NPM on Rocky Linux 8 How to Install NodeJS 14 / 16 & NPM on Rocky Linux 8 Jul 13, 2025 am 09:09 AM

Built on Chrome’s V8 engine, Node.JS is an open-source, event-driven JavaScript runtime environment crafted for building scalable applications and backend APIs. NodeJS is known for being lightweight and efficient due to its non-blocking I/O model and

How to Setup MySQL Replication in RHEL, Rocky and AlmaLinux How to Setup MySQL Replication in RHEL, Rocky and AlmaLinux Jul 05, 2025 am 09:27 AM

Data replication is the process of copying your data across multiple servers to improve data availability and enhance the reliability and performance of an application. In MySQL replication, data is copied from a database from the master server to ot

See all articles