2014-05-30 19:27:55 +01:00
|
|
|
# mtr
|
|
|
|
|
2016-09-29 12:30:52 +01:00
|
|
|
> Matt's Traceroute: combined traceroute and ping tool.
|
2014-05-30 19:27:55 +01:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Traceroute to a host and continuously ping all intermediary hops:
|
2014-05-30 19:27:55 +01:00
|
|
|
|
|
|
|
`mtr {{host}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Disable IP address and host name mapping:
|
2014-05-30 19:27:55 +01:00
|
|
|
|
|
|
|
`mtr -n {{host}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Generate output after pinging each hop 10 times:
|
2014-05-30 19:27:55 +01:00
|
|
|
|
|
|
|
`mtr -w {{host}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Force IP IPv4 or IPV6:
|
2014-05-30 19:27:55 +01:00
|
|
|
|
|
|
|
`mtr -4 {{host}}`
|
2018-02-04 17:57:11 +00:00
|
|
|
|
2018-02-06 12:41:44 +00:00
|
|
|
- Wait for a given time (in seconds) before sending another packet to the same hop:
|
2018-02-04 17:57:11 +00:00
|
|
|
|
|
|
|
`mtr -i {{seconds}} {{host}}`
|