1.MTR Introduction:
The MTR is a very good network connectivity judgment tool in Linux, which combines the features of Ping, traceroute,nslookup.
Apt-get Install Mtr-y
Installing the MTR Tools
Relevant parameters of 2.Mtr:
Mtr-s
Used to specify the size of the ping packet
Mtr-nno-dns
Do not do domain name resolution for IP address
Mtr-a
To set the IP address of the sending packet this is useful for a host by multiple IP addresses
Mtr-i
Use this parameter to set the requirement between ICMP returns by default is 1 seconds
Mtr-4
IPv4
Mtr-6
IPv6
The output of the 3.MTR is detailed:
MTR 8.8.8.8
Test connectivity to Google DNS using commands
My traceroute [v0.75]
Hybird (0.0.0.0) Tue Nov 1 23:06:00 2011
Keys:help Display Mode Restart statistics Order of fields quit
Packets Pings
Host loss% Snt last AVG best Wrst StDev
1.121.52.213.161 0% 25 0.7 2.2 0.6 13.7 3.0
2.10.0.20.37 0% 25 0.8 0.8 0.6 1.2 0.1
3.61.50.163.249 0% 24 1.2 1.7 1.1 4.8 1.0
4. bt-204-129.bta.net.cn 0% 24 1.2 4.3 1.0 49.5 11.1
5.124.65.60.137 0% 24 1.1 1.1 0.9 1.6 0.1
6.61.148.156.57 0% 24 2.4 2.5 1.8 9.3 1.5
7.202.96.12.89 0% 24 4.3 5.4 2.3 38.8 7.8
8.219.158.15.14 0% 24 52.1 42.4 41.3 52.1 2.2
9.219.158.3.74 0% 24 75.4 75.7 58.1 86.4 6.9
10.219.158.96.246 0% 24 34.5 33.9 33.0 37.8 1.0
11.219.158.3.238 0% 24 99.0 93.6 77.8 102.0 5.7
12.72.14.215.130 0% 24 39.1 38.3 36.3 48.9 2.9
13.64.233.175.207 4.2% 24 36.7 42.4 36.5 84.2 13.6
14.209.85.241.56 0% 24 36.7 43.1 36.3 91.8 16.6
209.85.241.58
15.216.239.43.17 0% 24 37.3 40.1 37.0 56.4 6.3
209.85.253.69
209.85.253.71
216.239.43.19
16.216.239.48.238 0% 24 38.5 41.6 37.1 50.3 4.6
216.239.48.234
216.239.48.226
216.239.48.230
Google-public-dns-a.google.com 0% 24 37.6 37.8 37.2 39.8 0.7
An example of an escalation notice is as follows:
First column: The IP address and the native domain name are displayed, which is like traceroute
Second column: Snt:10 sets the number of packets sent per second, the default value is 10 can be specified by the parameter-C. Where-C is the description: –report-cycles COUNT
Column Three: is the packet loss rate for each corresponding IP displayed
Fourth column: The most recent return delay shown
Fifth column: Is the average this should be the mean time delay for sending ping packets
The Sixth column: is the best or the shortest delay
The seventh column: The worst or the most frequent delay
Eighth column: is the standard deviation
This article is from the "Intelligent Future _XFICC" blog, please be sure to keep this source http://xficc.blog.51cto.com/1189288/1741336
Linux mtr Command detailed