mtr (My TraceRoute) combines the functionality of ping and traceroute into a single powerful network diagnostic tool. It continuously probes each hop along the route to a destination, providing real-time statistics on packet loss and latency, making it superior for ongoing network analysis and troubleshooting.
📑 Table of Contents
Key Features
- Real-Time Updates – Continuously refreshing statistics
- Combined Analysis – Ping and traceroute in one tool
- Report Generation – Export results for documentation
- Multiple Interfaces – Text, ncurses, and GTK+ modes
Installation
sudo apt install mtr # Debian/Ubuntu
sudo dnf install mtr # Fedora/RHEL
Basic Usage
# Interactive mode
mtr google.com
# Report mode (non-interactive)
mtr -r -c 100 google.com
# Show IP addresses only
mtr -n google.com
# Use TCP instead of ICMP
mtr --tcp -P 443 google.com
# Generate report with wide output
mtr -rw google.com
Was this article helpful?