| Crates.io | mtr-ng |
| lib.rs | mtr-ng |
| version | 0.3.0 |
| created_at | 2025-06-19 18:45:36.358098+00 |
| updated_at | 2025-06-19 22:53:48.080228+00 |
| description | A modern, feature-rich implementation of My Traceroute (MTR) with real-time network path visualization |
| homepage | https://github.com/edejong-dbc/mtr-ng |
| repository | https://github.com/edejong-dbc/mtr-ng |
| max_upload_size | |
| id | 1718672 |
| size | 266,984 |
A modern, feature-rich implementation of My Traceroute (MTR) built in Rust, offering real-time network path visualization with enhanced sparklines, jitter analysis, and advanced column customization.
▁▂▂▆█▄▂▃▂▁)hop, host, loss, sent, last, avg, emajitter, jitter-avg, best, worst, graph--show-all for complete metrics, custom combinations via --fieldsf key in interactive mode to cycle columns# Unix/Linux/macOS one-liner
curl -sSL https://raw.githubusercontent.com/edejong-dbc/mtr-ng/main/install/install.sh | bash
brew install mtr-ng
cargo install mtr-ng
yay -S mtr-ng
Download the .deb package from releases:
sudo dpkg -i mtr-ng_*.deb
# Clone and build
git clone https://github.com/edejong-dbc/mtr-ng
cd mtr-ng
cargo build --release
# Install
sudo cp target/release/mtr-ng /usr/local/bin/
sudo cp install/mtr-ng.1 /usr/local/share/man/man1/
# Standard trace with default columns
mtr-ng google.com
# Show all available metrics
mtr-ng google.com --show-all
# Custom column selection
mtr-ng google.com --fields hop,host,loss,last,avg,graph
# Focus on jitter analysis
mtr-ng google.com --fields hop,host,jitter,jitter-avg,graph
# Real-time monitoring with keyboard controls
mtr-ng google.com
# Controls:
# q/Esc - Quit
# r - Reset statistics
# s - Toggle sparkline scale
# c - Cycle color modes
# f - Toggle column visibility
# Generate report output
mtr-ng google.com --report
# Automation-friendly format
mtr-ng google.com --report --fields hop,host,loss,avg > network_report.txt
MTR-NG provides beautiful Unicode sparklines showing RTT history:
▁▂▃▄▅▆▇█ - Visual representation of network performanceMonitor network stability with comprehensive jitter metrics:
MTR-NG includes experimental Sixel graphics support:
--sixel flag available for future enhanced sparklines| Column | Description | Example |
|---|---|---|
hop |
Hop number | 1 |
host |
Hostname/IP address | gateway.local |
loss |
Packet loss percentage | 2.0% |
sent |
Packets sent | 10 |
last |
Most recent RTT | 15.2ms |
avg |
Average RTT | 18.4ms |
ema |
Exponential moving average | 17.8ms |
jitter |
Last jitter value | 2.1ms |
jitter-avg |
Average jitter | 1.8ms |
best |
Minimum RTT observed | 12.1ms |
worst |
Maximum RTT observed | 45.2ms |
graph |
RTT sparkline visualization | ▁▂▄▇▆▃▁ |
MTR-NG is actively developed with focus on:
Contributions welcome! Areas of interest:
MIT License - see LICENSE file for details.
This is a Homebrew tap for mtr-ng, a modern implementation of My Traceroute with real-time network path visualization.
# Add the tap
brew tap edejong-dbc/tap
# Install mtr-ng
brew install mtr-ng
# Basic usage (requires sudo for raw socket access)
sudo mtr-ng google.com
# Show all metrics with sparklines
sudo mtr-ng google.com --show-all
# Generate a report
mtr-ng google.com --report --count 10
MTR-NG is a modern, feature-rich implementation of My Traceroute (MTR) that provides:
For more information, visit the main repository.