Common Linux Network Tools: mtr for Route Scanning

Source: Internet
Author: User

Common Linux Network Tools: mtr for Route Scanning

In addition to traceroute introduced in the previous article "common network tools for Linux: traceroute for Route scanning", Linux also has another commonly used route scanning tool mtr.

Mtr is more useful than traceroute in some aspects. It can display the information of each hop route in real time and continuously detect the route.

Traceroute uses UDP packet detection by default, while mtr uses ICMP packet detection by default. ICMP has a lower priority in some route nodes than other data packets. Therefore, the test data may be lower than the actual situation.

Mtr

--------------------------------------------------------------------------------

Mtr is easy to use and usually does not require additional options. For more parameters, 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:

Output parameter explanation:

Loss % -- packet Loss rate, measured in "% ";

Snt -- number of sent packages

Last -- latency of the Last packet

Avg -- average latency of all packets

Best-packet with minimum latency

Wrst -- the packet with the maximum latency

StDev-Standard Deviation

This article permanently updates the link address:

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.