mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 00:42:08 +02:00
mtr: update page (#10490)
* mtr: add example, use long options, use real arguments * mtr: update homepage
This commit is contained in:
parent
0fe192206d
commit
293b4e0150
1 changed files with 11 additions and 7 deletions
|
@ -1,28 +1,32 @@
|
|||
# mtr
|
||||
|
||||
> Matt's Traceroute: combined traceroute and ping tool.
|
||||
> More information: <https://bitwizard.nl/mtr>.
|
||||
> More information: <https://www.bitwizard.nl/mtr/>.
|
||||
|
||||
- Traceroute to a host and continuously ping all intermediary hops:
|
||||
|
||||
`mtr {{host}}`
|
||||
`mtr {{example.com}}`
|
||||
|
||||
- Disable IP address and host name mapping:
|
||||
|
||||
`mtr -n {{host}}`
|
||||
`mtr --no-dns {{example.com}}`
|
||||
|
||||
- Generate output after pinging each hop 10 times:
|
||||
|
||||
`mtr -w {{host}}`
|
||||
`mtr --report-wide {{example.com}}`
|
||||
|
||||
- Force IP IPv4 or IPV6:
|
||||
|
||||
`mtr -4 {{host}}`
|
||||
`mtr -4 {{example.com}}`
|
||||
|
||||
- Wait for a given time (in seconds) before sending another packet to the same hop:
|
||||
|
||||
`mtr -i {{seconds}} {{host}}`
|
||||
`mtr --interval {{10}} {{example.com}}`
|
||||
|
||||
- Display the Autonomous System Number (ASN) for each hop:
|
||||
|
||||
`mtr --aslookup {{hostname}}`
|
||||
`mtr --aslookup {{example.com}}`
|
||||
|
||||
- Display both IP address and reverse DNS name:
|
||||
|
||||
`mtr --show-ips {{example.com}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue