1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-28 20:55:28 +02:00
tldr/pages/common/mtr.md

33 lines
767 B
Markdown
Raw Normal View History

# mtr
> Matt's Traceroute: combined traceroute and ping tool.
> More information: <https://manned.org/mtr>.
- Traceroute to a host and continuously ping all intermediary hops:
`mtr {{example.com}}`
- Disable IP address and host name mapping:
`mtr {{[-n|--no-dns]}} {{example.com}}`
- Generate output after pinging each hop 10 times:
`mtr {{[-w|--report-wide]}} {{example.com}}`
- Force IP IPv4 or IPV6:
`mtr -4 {{example.com}}`
- Wait for a given time (in seconds) before sending another packet to the same hop:
`mtr {{[-i|--interval]}} {{10}} {{example.com}}`
2022-04-15 22:35:32 -04:00
- Display the Autonomous System Number (ASN) for each hop:
`mtr {{[-z|--aslookup]}} {{example.com}}`
- Display both IP address and reverse DNS name:
`mtr {{[-b|--show-ips]}} {{example.com}}`