Quick Linux Tip #36:
Try: mtr -rw -c 20 google.com
Info: mtr combines traceroute and ping. -r enables report mode, -w shows full hostnames, and -c 20 sends 20 pings per hop.
Examples:
- $ mtr google.com # Interactive real-time mode
- $ mtr --tcp -P 443 google.com # TCP mode on port 443
- $ mtr -j google.com # Output JSON for scripting
Note: Loss% at intermediate hops is often ICMP rate-limiting. Look for packet loss that persists through to the final hop for actual problems.
Leave a Reply