b-top (short for bad-top) is a terminal-based, Rust-powered system resource viewer for UNIX-like systems. Inspired by tools like bashtop
and htop
, b-top
provides a visually rich and interactive interface for monitoring CPU, memory, network, and process activity, rendered with smooth animations and intuitive controls.
- Per-Core CPU Usage: Real-time usage display for each CPU core with color-coded indicators.
- CPU Usage Graph: Sparkline graph showing historical average CPU usage.
- Memory Monitoring: Visual gauge showing used vs. total memory in GB.
- Network Stats: Displays RX/TX bytes for interfaces like
eth0
andlo
. - Process Table: Sortable list of top processes by CPU, memory, or network usage.
- Smooth Animations: Powered by
tachyonfx
for subtle UI transitions. - Keyboard Navigation: Scroll, jump, sort, and switch interfaces with intuitive keybindings.
- Rust
- ratatui – Terminal UI rendering
- sysinfo – System information
- crossterm – Terminal input handling
- tachyonfx – Animation effects
Key | Action |
---|---|
↑ / ↓ |
Scroll through process list |
PgUp / PgDn |
Jump up/down in process list |
Home |
Jump to top of process list |
← / → |
Change sorting category |
b / n |
Switch between lo and eth0 |
q |
Quit the application |
ENTER |
View more process info |
k |
Kill selected process |
u / i |
Switch between disks |
- Rust toolchain (
cargo
,rustc
) - A UNIX-like OS (Linux, macOS)
git clone https://github.com/asian-mario/b-top.git
cd b-top
cargo run --release
wget https://github.com/asian-mario/b-top/releases/download/[VERSION]/b-top-linux-x86_64.tar.gz
tar -xzf b-top-linux-x86_64.tar.gz
sudo mv b-top /usr/local/bin/
- Add disk I/O monitoring
- Support for more network interfaces
- Configurable refresh rate
- Add resource management featres
MIT License
Thanks to ratatui
and TachyonFX
repositories for maintaining their projects for for the UI animations.