xtop is a modern, cross-platform TUI system monitor crafted in Rust. Heavily inspired by btop, it leverages Rust's safety and performance, powered by ratatui for the interface and sysinfo for real-time metrics.
- Cross-Platform: Runs on macOS, Linux, and Windows.
- System Monitoring:
- CPU: Usage per core/thread, maximum temperature sensing.
- Memory: RAM and Swap usage with historical graphing.
- Network: Real-time upload and download tracking.
- Disks: Storage usage visualization.
- Processes: List of running processes sorted by CPU usage.
- Theming:
- Includes 13 built-in color schemes (e.g., Dracula-like 'x', Madrid, Tokio, etc.).
- Cycle through themes instantly without configuration files.
- Layouts:
- Dashboard: Balanced view of all components (Default).
- Vertical: Stacked view, good for narrow terminals.
- Process Focus: Maximizes space for the process list while keeping essential stats visible.
The installer script automatically detects your distribution and installs all required dependencies (including Rust if needed).
Install with curl:
curl -fsSL https://raw.githubusercontent.com/xscriptordev/xtop/main/install.sh | bashOr with wget:
wget -qO- https://raw.githubusercontent.com/xscriptordev/xtop/main/install.sh | bashUninstall:
curl -fsSL https://raw.githubusercontent.com/xscriptordev/xtop/main/install.sh | bash -s -- --uninstallInstaller Options
You can also run the installer with additional options:
# Check dependencies without installing
./install.sh --check-deps
# Install only dependencies (Rust, build tools)
./install.sh --install-deps
# Show help
./install.sh --helpSupported distributions: Arch, Debian/Ubuntu, Fedora/RHEL, openSUSE, Alpine, and derivatives.
Requires Rust (Cargo) installed. Run in PowerShell:
Install:
irm https://raw.githubusercontent.com/xscriptordev/xtop/main/install.ps1 | iexUninstall:
irm https://raw.githubusercontent.com/xscriptordev/xtop/main/uninstall.ps1 | iex-
Clone the repository:
git clone https://github.com/xscriptordev/xtop.git cd xtop -
Build and run:
cargo run --release
| Key | Action |
|---|---|
q |
Quit application |
t |
Next Color Theme |
T |
Previous Color Theme |
l |
Toggle Layout Mode (Dashboard -> Vertical -> Process Focus) |
- Header: Shows system uptime, load average, current theme, and layout mode.
- CPU: Shows usage bars for each CPU core. If sensors are available, shows the maximum CPU temperature.
- Memory: Gauges for RAM and Swap usage, plus a line chart for RAM history.
- Network: Total downloaded (RX) and uploaded (TX) data.
- Processes: A scrolling list of the top 50 processes sorted by CPU usage.
Currently, xtop is zero-config. All preferences (theme, layout) can be toggled at runtime but are reset on restart. Future versions may include a config file.