当前位置:网站首页>Network performance evaluation tool ping/mtr
Network performance evaluation tool ping/mtr
2022-07-26 01:18:00 【Zhang quandan, Foxconn quality inspector】
ping
ping Check the network delay performance ping The command is simple , But powerful , If you find that the network response is slow , Or the connection is broken , Can pass ping To test network connectivity , Please see the output below :

In this output ,time The value shows the network delay between the two hosts , If it's worth a lot , It means that the network delay is very large , The unit is millisecond . At the end of this output , It's a summary of the above output ,packet loss Indicates the packet loss rate of the network , The smaller the value , The higher the quality of the network , The faster the response speed . This example sent 7 A package , Only received 6 individual , therefore , Yes 14% The packet loss rate , The average network delay is 36.929ms.
[[email protected] ~]# ping 192.168.111.4
PING 192.168.111.4 (192.168.111.4) 56(84) bytes of data.
64 bytes from 192.168.111.4: icmp_seq=1 ttl=64 time=0.708 ms
64 bytes from 192.168.111.4: icmp_seq=2 ttl=64 time=1.59 ms
64 bytes from 192.168.111.4: icmp_seq=3 ttl=64 time=1.15 ms
^C
--- 192.168.111.4 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2007ms
rtt min/avg/max/mdev = 0.708/1.151/1.590/0.362 msping The command cannot be seen 8.8.8.8 Routing status of .
mtr Route trace command
It is generally used to judge network connectivity ping and traceroute Tools ,ping You can judge the packet loss rate and delay ,traceroute Can be used to track routes , But there is a better tool for judging network connectivity , It can combine ping nslookup traceroute To judge the relevant characteristics of the network , The order is mtr, Please see the output below :

Can dynamically display routing information , In this way, you can easily understand 8.8.8.8 What routes have you experienced , At which hop did you lose your packet , And the packet loss rate can be seen .
mtr Route trace command The meaning of the output item is as follows :
- Host Column is passing by IP Or local domain name
- Loss% The column is the corresponding IP OK, packet loss rate , It is worth mentioning that , Only the final target packet loss is the real packet loss .( You can see which routing point has packet loss )
- Last Column is the delay of the last return , In milliseconds ( Delay to each land travel point )
- Avg Column is an average of all return delays
- Best Column is the fastest return delay
- Wrst Column is the longest return delay
- StDev Column is the standard deviation of delay
The first jump of the machine is obviously an address of the gateway , This is the gateway address inside the server or computer room . If packet loss occurs on the first hop , Then it is obviously the problem of the internal network of the computer room , The next few hops may be at a routing node inside the machine room , It takes several routing nodes to get out . If there is no packet loss in the computer room, the operator can only solve it .
Above is mtr It can display the routing status to a host , In the process of routing, the delay and packet loss of each line can be clearly displayed . This is very helpful for us to troubleshoot problems .
traceroute Is a non dynamic method output .
边栏推荐
- Arthas watch 命令查看数组中对象的属性
- Force buckle 25. Turn over the linked list in a group of K
- [software development specification iv] application system security coding specification
- Should we test the Dao layer?
- How to obtain the cash flow data of advertising services to help analyze the advertising effect?
- Paged query design of scenarios
- [software development specification II] prohibited item development specification
- Tutorial on principles and applications of database system (055) -- MySQL query (XVII): usage of mathematical functions
- Detailed explanation of at and crontab commands of RHCE and deployment of Chrony
- 动态IP地址是什么?为什么大家会推荐用动态ip代理?
猜你喜欢

What if win11 cannot open its own anti-virus software? Win11's built-in anti-virus function cannot be turned on

The difference and application of in and exists in SQL statement

MDK编译过程及ARM编译工具链

网络文件传输之零拷贝

1.30 升级bin文件添加后缀及文件长度

Pycharm automatically adds header comments when creating py files
![[RTOS training camp] problems of evening students](/img/4a/9d781a28751c15e9e42cd5743e97db.jpg)
[RTOS training camp] problems of evening students

链表相关面试题

PyCharm在创建py文件时自动添加头部注释

健身房一年关店8000家,逆势盈利的工作室是怎么开的?
随机推荐
NLP introduction + practice: Chapter 4: using pytorch to manually realize linear regression
How can MySQL just duplicate data?
《nlp入门+实战:第四章:使用pytorch手动实现线性回归 》
电视机软件烧录
EasyRecovery15下载量高的恢复率高的数据恢复软件
Handler消息机制-FWK层
Detailed explanation of at and crontab commands of RHCE and deployment of Chrony
IP地址能精确到哪步?动态IP及静态IP是什么?切换IP最常用的方法
代理IP服务器如何保证自身在网络中的信息安全呢
【软件开发规范四】《应用系统安全编码规范》
换ip软件的用途很广及原理 动态IP更换的四种方法来保护网络隐私
ZK-Rollups工作原理
[go] III. The simplest restful API server
Failed to load DLL
NLP introduction + practice: Chapter 3: gradient descent and back propagation
加载dll失败
健身房一年关店8000家,逆势盈利的工作室是怎么开的?
How to copy and paste QT? (QClipboard)
985 associate professors in Colleges and universities sun their annual salary, and the provident fund tops the monthly salary of ordinary people. Netizen: it is worthy of being in Shanghai
REST-assured接口测试框架详解