Get the App
SLTechnology News&Howtos  ›  Servers  › 

Linux Common Network tools how to use the Route scanning tool mtr

Shulou Source: shulou.com Published: 2022-06-01 08:13:32 10月03日 Update

This article mainly explains "Linux common network tools how to use routing scanning tool mtr", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Linux common network tools how to use routing scanning tool mtr" bar!

Mtr is more useful than traceroute in some ways, it can display information about each hop route in real time, and constantly probe.

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

Mtr

Mtr is easy to use. You don't need to use additional options. For more parameters, please see mtr's man page:

The code is as follows:

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:

Interpretation of output parameters:

Loss%-packet loss rate in "%"

Snt-number of sent packages

Last-the delay of the last packet

Avg-average delay for all packets

Best-the packet with the least delay

Wrst-the packet with the largest latency

StDev-standard deviation

Thank you for your reading. the above is the content of "how to use the routing scanning tool mtr for the common network tools of Linux". After the study of this article, I believe you have a deeper understanding of how to use the routing scanning tool mtr for the common network tools of Linux, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Tools routing common scanning tools networks network tools data learning probing content parameters situations more maximum minimum continuous code priority information deviation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology MariaDB Shulou Tech Info Linux Redmi