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.
You can install xtop directly using our installer script. This requires rust (cargo) to be installed on your system.
Install:
curl -fsSL https://raw.githubusercontent.com/xscriptordev/xtop/main/install.sh | bashUninstall:
curl -fsSL https://raw.githubusercontent.com/xscriptordev/xtop/main/uninstall.sh | bashRequires 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- Rust & Cargo installed.
-
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.