MTR command details

Source: Internet
Author: User

In Windows, Ping and tracert are used to determine network connectivity. If Ping is used, packet loss rate can be determined. tracert can be used to track routes. in Linux, there is a better network connectivity judgment tool, it can be used with Ping NSLookup tracert to determine network-related features. This command is MTR.

[[Email protected] ~] # MTR-H
Usage: MTR [-hvrctglspni46] [-- help] [-- version] [-- Report]
[-- Report-cycles = count] [-- curses] [-- GTK]
[-- Raw] [-- split] [-- no-dns] [-- Address interface]
[-- Psize = Bytes/-S bytes]
[-- Interval = seconds] hostname [packetsize]


MTR-H provides help commands
MTR-V displays MTR version information
MTR-r reported Mode Display

[[Email protected] ~] # MTR-r 202.108.33.94
Focus9097 snt: 10 loss % last AVG best wrst STDev
220.181.61.252 0.0% 6.8 3.3 1.8 7.4
220.181.17.217 0.0% 0.4 0.5 0.4 0.7
220.181.16.17 0.0% 0.6 0.5 0.5 0.6
202.97.53.14 10.0% 0.7 0.7 0.7 0.8
219.158.35.1 0.0% 0.8 0.8 0.8 0.9
219.158.5.81 0.0% 1.2 1.3 1.2 1.6
123.126.0.138 0.0% 1.2 1.1 1.1 1.3
61.148.153.126 0.0% 1.9 10.5 1.5 89.9
61.148.143.22 0.0% 1.5 1.6 1.5 1.7
210.74.178.198 0.0% 1.6 1.6 1.5 1.9
202.108.33.94 0.0% 1.5 1.5 1.4 1.5

Report description:
Column 1: displays the IP address and the local domain name, which is similar to tracert.
Column 2: snt: 10 sets the number of data packets sent per second. The default value is 10, which can be specified through the-C parameter.

[[Email protected] ~] # MTR-r-c 15 202.108.33.94
Focus9097 snt: 15 loss % last AVG best wrst STDev
220.181.61.252 0.0% 1.9 3.4 1.8 12.9
220.181.17.217 0.0% 0.5 0.5 0.4 0.8
220.181.16.17 0.0% 0.5 0.6 0.5 2.3
202.97.53.14 0.0% 0.7 0.7 0.7 0.7
219.158.35.1 0.0% 0.9 0.8 0.8 0.9
219.158.5.81 0.0% 1.3 2.8 1.2 22.8
123.126.0.138 0.0% 1.1 1.1 1.1 1.2
61.148.153.126 0.0% 13.8 7.4 1.6 60.4
61.148.143.22 0.0% 1.7 1.6 1.5 1.8
210.74.178.198 0.0% 1.6 1.6 1.4 1.7
202.108.33.94 0.0% 1.5 1.5 1.4 1.7

-C indicates-Report-cycles count.

  • Column 3: displays the packet loss rate of each corresponding IP address.
  • Column 4: display the latest return latency
  • Column 5: average value. This should be the average latency of the ping packet sent.
  • Column 6: the best or the lowest latency
  • Column 7: The worst or the most frequent latency
  • Column 8: Standard Deviation

Next we will talk about the relevant parameters:

    1. MTR-S is used to specify the ping packet size.
    2. MTR-n no-DNS does not perform domain name resolution for IP addresses
    3. MTR-A is used to set the IP address for sending data packets. This is useful for a host with multiple IP addresses.
    4. MTR-I uses this parameter to set the requirements between ICMP return requests. The default value is 1 second.
    5. MTR-4 IPv4
    6. MTR-6 IPv6

MTR command details

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.