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 contin
This tool is from Aliyun customer service that know, at that time encountered Aliyun CDN a node lost packet problem, use this tool to diagnose routing node problem.
1. Download address: http://rudix.org/packages/mtr.html (download in the garden)
2. After downloading, run mtr-0.85-0.pkg to install
3. Cd/usr/local/sbin, you will see the MTR file.
4. Run MTR app
Use Help
zhangnq@vm-199:~$ mtr-husage: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-H provides help commands
MTR-V display version information for
Label: Style Color Io OS use SP data Div on
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-HUsag
intervalExample:Iperf–s-u–p 12345–i 1 runs iperf on the server side and is a UDP testIperf-c server-ip-p server-port-i 1-t 10-b 1000M run Iperf on the client.MTRThe MTR combines the functions of traceroute and Ping in a network tool, starting with the MTR and sending a packet with a low TTL by destination to check the network connection between the host running the MTR
Mtr (My traceroute) is a Network Diagnostics tool that incorporates ping and traceroute into a program. The MTR provides two interfaces: a ncurses interface that is useful for using MTR from a Telnet session, and a GTK + interface for X (provided in the MTR-GTK software package).MT
Linux mtr Command detailed
Generally in Windows to determine network connectivity with Ping and tracert,ping words can judge the packet loss rate, Tracert can be used to track routing, in Linux has a better network connectivity judgment tool, it can be combined ping nslookup tracert To determine the characteristics of the network, this command is MTR
[root@10.10.90.97 ~] #
The MTR (My traceroute) is a network diagnostic tool that incorporates pings and traceroute into a single program. The MTR provides two interfaces: a ncurses interface that is useful for using MTR from a Telnet session, and a GTK + interface for X (provided in the MTR-GTK package).
.tracerouteTraceroute also uses the ICMP protocol, which uses ICMP for more time than error-Error reporting and ICMP endpoint unreachable messages. For the ICMP protocol, the principle is:Important options for traceroute are:[Plain]View PlainCopy
-u--uses the UDP protocol to detect, which is the default detection protocol.
-i--uses the ICMP protocol to detect
-t--uses the TCP protocol to detect
Examples of use are:[Plain]View PlainCopy
Traceroute www.baidu.com
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-yInstalling the MTR ToolsRelevant parameters of 2.Mtr:Mtr-sUsed to specify the size of the ping packetMtr-nno-dnsDo not do domain name resolution for IP add
In addition to the previous article "Linux Common Network Tools: Route scanning traceroute" introduced in the Traceroute, General Linux also built-in another common route scanning Tool mtr.The MTR is better used in some ways than traceroute, and it can display the information of each hop routing in real time and constantly probe.Traceroute uses UDP packet probing by default, and the MTR uses ICMP packet det
The MTR is a well-used tool that combines ping and traceroute tools and, by default, initiates a new request every second.and refresh the result data interface, it is useful to determine when a link drops.650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/5B/70/wKiom1UI7baQz27dAANket-GiGo530.jpg "title=" mtr " alt= "Wkiom1ui7baqz27daanket-gigo530.jpg"/>
[[Email Protected]_5 ~]#
I want to transfer files between servers, use the SCP tool, and the zip tool is useful when the file is large or needs to transfer many files. Network analysis Tools The MTR is also commonly used.Readers can look at the next man information for comparison.1. Compress the files into soft.zip filesZip–r Soft.zip apr-1.5.1.tar.gz cmake-2.8.12.2.tar.gz/app/backup/2. SCP Tool Transfer fileScp-p 2201 Soft.zip Test@10.10.1.2:/database/backupRSA key fingerpri
When the search engine grasps the lifeblood of the Internet economy, the typical application of the Internet, which is created by the search behavior, will affect all the people and things related to it. For the moment, we call the economic model of the related behavior a search economy. In this section we discuss one of the most basic elements of a search economy – search keywords.
What are the key words? It can be any word in any language, mainly in the form of words. The essence of writing i
The meaning of directory and file permissions in Linux
The meaning of file permission
R: You can read the specific contents of this document;
W: You can edit the contents of this file, including adding the details of the deleted file;
X: The file has executable permissions-------Note: Here and window is not the same, in win, the file executable permissions are expressed through the extension, such as EX
What is the definition in C language? What is the meaning of the statement? What is the difference between them ?, Meaning difference
In the C language, we may be very familiar with definitions and declarations, but we may not really understand them!
Definition meaning: the so-called definition is to create (compiler) an object, allocate a memory space for this
String formatting symbolic meaning
Symbol
Description
%c
Formatting characters and their ASCII code
%s
formatting strings
%d
formatting integers
%o
Formatting an unsigned octal number
%x
formatting unsigned hexadecimal numbers
%x
Format unsigned hexadecimal number (uppercase)
%f
Format fixed-point numb
String formatting symbolic meaning
Symbol
Description
%c
Formatting characters and their ASCII code
%s
formatting strings
%d
formatting integers
%o
Formatting an unsigned octal number
%x
formatting unsigned hexadecimal numbers
%x
Format unsigned hexadecimal number (uppercase)
%f
Format fixed-point numb
A lot of friends in the tuning with MySQL will certainly use the explain to see the execution of the SELECT statement, here is a brief introduction to the results of the meaning of the two columns.1 Type column The official saying that this column represents the "type of access", and more commonly, the way MySQL finds the data rows needed. One is to introduce the worst from the most efficient to the best: all this is called a full-table scan, and no i
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.