Mtr(my traceroute) is a command line network diagnostic tool that provides the functionality of both the ping and traceroute commands.
它可以结合ping nslookup tracert 来判断网络的相关特性,这个命令就是mtr
诊断网络路由
示例:
mtr -r 202.108.33.94
- -m Specify the maximum number of hops between the local system and the remote machine 最大调数
- -s Specify packet size 每个包的大小
- –csv Print CSV Output 输出csv格式
- –tcp/–udp Use TCP SYN packets or UDP datagrams
- -i Specify Time Interval between ICMP ECHO requests 测试包的发送间隔
- -o Rearrange the output fields(output) 输出字段选择
- -r Enable Report Mode(report) 报告模式
- -c Specify a limit for the number of pings(count) 最大输出报告数
- -b Both hostnames and numeric IP addresses 输出hostname和ip
- -g Display Numeric IP addresses 只显示ip
显示结果主要是丢包率和延迟参数, 大概就那样了