httping:测量网站延迟
来源:行业资讯 /
时间: 2024-12-13
vvvvvvvvvvvvv.
<p><img src="https://img.xpwin7.com/2021/1015/202126151126451.png" ,="" alt="httping:测量网站延迟"/></p><br/>
<div>
vvvvv</div>
<div>
使用</div>
<div>
假如我们想测测 ,那么可以执行:</div>
<div>
linuxidc@linuxidc:~$</div>
<div>
httping -c10 -g</div>
<div>
</div>
<div>
PING :80 (/):</div>
<div>
connected to 61.155.222.134:80 (307 bytes), seq=0 time=207.10 ms </div>
<div>
connected to 61.155.222.134:80 (307 bytes), seq=1 time= 84.88 ms </div>
<div>
connected to 61.155.222.164:80 (307 bytes), seq=2 time=1174.91 ms </div>
<div>
connected to 61.155.222.134:80 (307 bytes), seq=3 time=693.06 ms </div>
<div>
connected to 61.155.222.134:80 (307 bytes), seq=4 time=1328.15 ms </div>
<div>
connected to 61.155.222.134:80 (331 bytes), seq=5 time=10792.71 ms </div>
<div>
connected to 61.155.222.134:80 (327 bytes), seq=6 time=880.24 ms </div>
<div>
connected to 61.155.222.134:80 (327 bytes), seq=7 time=1115.27 ms </div>
<div>
connected to 61.155.222.164:80 (327 bytes), seq=8 time= 62.34 ms </div>
<div>
connected to 61.155.222.164:80 (327 bytes), seq=9 time= 62.49 ms </div>
<div>
--- ping statistics ---</div>
<div>
10 connects, 10 ok, 0.00% failed, time 26456ms</div>
<div>
round-trip min/avg/max = 62.3/1640.1/10792.7 ms</div>
<div>
linuxidc@linuxidc:~$<br/>
<p><img src="https://img.xpwin7.com/2021/1015/202126151126462.png" ,="" alt="httping:测量网站延迟"/></p><br/>
</div>
<div>
简单介绍一下这里用到的选项:</div>
<div>
g:要测量的网址</div>
<div>
-l:使用 SSL 连接</div>
<div>
-c:这个和 ping 一样,为请求数量</div>
<div>
-Y:启用颜色输出</div>
<div>
httping 还支持 IPv6、代理、超时、请求头等其他特性,详情可以通过 man httping 查询。值得一提的是,httping 也有 Android 版本,有需要有朋友可通过 Google Play 获取。</div>
<div>
→ httping</div>
<div>
httping 的详细介绍</div>
<div>
:请点这里</div>
<div>
httping 的下载地址</div>
<div>
:请点这里</div>
<div>
</div>
<div>
</div>