日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 运维知识 > linux >内容正文

linux

使用ping命令查看网络延迟--用Enki学Linux系列(7)

發(fā)布時(shí)間:2024/4/13 linux 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 使用ping命令查看网络延迟--用Enki学Linux系列(7) 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

? 使用ping命令查看網(wǎng)絡(luò)延遲

? Using ping To Measure Network Latency


? ping命令持續(xù)發(fā)送少量互聯(lián)網(wǎng)流量到遠(yuǎn)程地址并報(bào)告收到回應(yīng)的總時(shí)間。如果流量因?yàn)榫W(wǎng)絡(luò)故障或者錯(cuò)誤配置而被丟棄,它也會(huì)報(bào)告。ping命令是最基本和初級(jí)的診斷網(wǎng)絡(luò)問題的工具之一。

? The ping command will continuously send a tiny bit of internet traffic to a remote address and report the amount of time it took to receive a response. It will also report if the traffic was dropped, which is indicative of a bad network connection or a misconfigured network. The ping command one of the most basic and essential tools for diagnosing network problems.

? 下面是個(gè)例子:

? Here is an example:

$?ping?google.com PING?google.com?(172.217.0.238)56(84)?bytes?of?data. 64?bytes?from?172.217.0.238:icmp_seq=1?ttl=56?time=0.849?ms 64?bytes?from?172.217.0.238:icmp_seq=2?ttl=56?time=0.822?ms 64?bytes?from?172.217.0.238:icmp_seq=3?ttl=56?time=0.905?ms 64?bytes?from?172.217.0.238:icmp_seq=4?ttl=56?time=0.894?ms 64?bytes?from?172.217.0.238:icmp_seq=5?ttl=56?time=0.888?ms ---?google.com?ping?statistics?--- 5?packets?transmitted,?5?received,0%?packet?loss,?time?4001ms rtt?min/avg/max/mdev?=?0.822/0.871/0.905/0.044?ms $

? ping會(huì)持續(xù)工作直到你把他停掉。“time=”這段是最重要的。這臺(tái)特殊機(jī)器大概1毫秒就從google.com得到了回應(yīng),這非常快了。ping也會(huì)給出包括發(fā)送的ping包數(shù),丟包率,關(guān)于往返時(shí)延的變化數(shù)據(jù)等信息的“ping會(huì)話”整體匯總。

? The ping command will continue to do this until it is stopped. The time= field is the most important. This particular machine is getting a response back from google.com in about 1 millisecond, which is very fast. ping will also give an overall summary of the "ping session", which includes the number of ping packets sent, the percentage of packets lost, and various statistics about the round trip time (rtt).

? 記住延遲與鏈路質(zhì)量和發(fā)ping機(jī)器到被ping機(jī)器直接的物理距離有關(guān)。

? Keep in mind that latency has to do with both the quality of your connection and the physical distance between the machine on which you issue the ping command and the machine being pinged.

$?ping?duma.ru PING?duma.ru?(212.11.128.31)56(84)?bytes?of?data. 64?bytes?from?duma.ru?(212.11.128.31):?icmp_seq=1?ttl=113?time=149?ms 64?bytes?from?duma.ru?(212.11.128.31):?icmp_seq=2?ttl=113?time=149?ms 64?bytes?from?duma.ru?(212.11.128.31):?icmp_seq=3?ttl=113?time=149?ms 64?bytes?from?duma.ru?(212.11.128.31):?icmp_seq=4?ttl=113?time=149?ms ---?duma.ru?ping?statistics?--- 5?packets?transmitted,?4?received,20%?packet?loss,?time?4005ms rtt?min/avg/max/mdev?=?149.660/149.811/149.946/0.484?ms $

原文鏈接

轉(zhuǎn)載于:https://blog.51cto.com/smellyman/1891681

總結(jié)

以上是生活随笔為你收集整理的使用ping命令查看网络延迟--用Enki学Linux系列(7)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。