mtr工具介绍
mtr是网络连通性判断工具,结合ping nslookup tracert来判断网络的相关特性。即包含判断丢包率和跟踪路由功能。
mtr工具安装
apt install mtr
mtr实战常用命令
mtr -h
-h, --help display this help and exit
mtr -v
-v,--version output version information and exit
mtr -r nmap.org
-r, --report output using report mode
mtr -r nmap.org -x >>/mtr.xml
-x, --xml output xml
mtr -r nmap.org -C >>/mtr.csv
-C, --csv output comma separated values
mtr -r -s 120 nmap.org -x >/mtr.xml
-s, --psize PACKETSIZE set the packet size used for probing
mtr -r -c 100 nmap.org -x >/mtr.xml
-c, --report-cycles COUNT set the number of pings sent
mtr -r -n nmap.org -x >/mtr.xml
-n, --no-dns do not resolve host names
mtr -r -i 0.1 nmap.org -x >/mtr.xml
-i, --interval SECONDS ICMP echo request interval
mtr -r -i 0.1 -n -c 100 -s 120 nmap.org -x >/mtr.xml
来源:oschina
链接:https://my.oschina.net/u/3861671/blog/3192050