In addition to the previous article "Linux Common Network Tools: Route scanning traceroute" introduced in the Traceroute, General Linux also built-in another common route scanning Tool mtr.
The MTR is better used in some ways than traceroute, and it can display the information of each hop routing in real time and constantly probe.
Traceroute uses UDP packet probing by default, and the MTR uses ICMP packet detection by default, and ICMP has a lower priority on some routing nodes than other packets, so the data you test may be less than the actual situation.
mtr
MTR is relatively simple to use, usually do not need to use additional options, more parameters can refer to the man page of MTR:
usage:mtr [-hvrwctglspniu46] [--help] [--version] [--report] [--report-wide] [--report-cycles=count] [--curses] [ --GTK] [ --raw] [--split] [--no-dns] [--address interface] [--psize=bytes/-s bytes] [--interval=seconds] HOSTNAME [PacketSize]
MTR Example:
Explanation of output parameters:
loss%--Packet loss rate, unit is "%"; Snt--The number of sent packets last--delay AVG for the final packet--the average delay of all packages best--the packet wrst with the least delay--the most time-delayed packet Stdev--standard deviation
Record, for the better of myself!
Linux Common Network Tools: Route scan of the MTR