当前位置:网站首页>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 .
边栏推荐
- matlab 移位操作基础
- Implementation process of adding loading effect to easycvr page
- Game thinking 17: Road finding engine recast and detour learning II: recast navigation grid generation process and limitations
- Causes of signal degradation in optical fiber communication
- Small sample learning - getting started
- 【Go】如何控制协程的最大并发数
- 手游多开用模拟器多开游戏如何切换IP搬砖
- How to switch IP and move bricks with mobile game simulator
- 更换IP地址常见的4种简单有效的方法
- 【软件开发规范四】《应用系统安全编码规范》
猜你喜欢

Small sample learning - getting started

Cross linguistic transfer of correlations between parts of speech and Gazette Features Reading Notes

游戏思考17:寻路引擎recast和detour学习二:recast导航网格生成流程及局限性

链表相关面试题
![[secsha concept] large and small end](/img/1e/d295a6eb7ecaccb53ed9f7d2234956.png)
[secsha concept] large and small end

Machine learning: Bayesian Networks

web中间件日志分析脚本3.0(shell脚本)

【数据挖掘】生成模型和判别模型的区别及优缺点
![[Code] refers to the repeated number in the offer 03 array](/img/83/50f5157c363d46f38f6e4ef7fae3b2.png)
[Code] refers to the repeated number in the offer 03 array

网络文件传输之零拷贝
随机推荐
Google Gson用法详解
Failed to load DLL
Tutorial on principles and applications of database system (054) -- MySQL query (16): usage of date time function
Cross linguistic transfer of correlations between parts of speech and Gazette Features Reading Notes
记一次自定义 Redis 分布式锁导致的故障
什么是信息化?什么是数字化?这两者有什么联系和区别?
Should we test the Dao layer?
数据库系统原理与应用教程(054)—— MySQL 查询(十六):日期时间型函数的用法
Sqli-labs Less7
NLP introduction + practice: Chapter 3: gradient descent and back propagation
Android SQLite first groups and then sorts left concatenated queries
matlab 按位 与 或 非
机器学习:贝叶斯网络
Handler消息机制-FWK层
Web middleware log analysis script 3.0 (shell script)
谷歌浏览器调试工具使用基础版(一)
编程学习过程中有哪些快速提高编程技巧的方法?
Redis数据结构详解,结合书本
Lua基础语法
如何才能修炼成一名不可替代的程序员?