遇到网络问题的时候,我们一般会先通过ping这个工具来了解基本的情况。httping 与ping类似,不过它不是发送 ICMP 请求,而是发送 HTTP 请求。利用
httping,我们可以测量出 Web 服务器跟网络的延迟。安装apt-get install httping # Debian/Ubuntu
yum install httping # Fedora/CentOS/RHEL
yaourt -S httping # Arch Linux
emerge -av httping # Funtoo/Gentoo使用假如我们想测测 linuxtoy.org,那么可以执行:httping -g https://linuxtoy.org -l -c5-Y
PING linuxtoy.org:443(/):
connected to 173.252.207.108:443(402bytes),seq=0time=4190.59 ms
connected to 173.252.207.108:443(401bytes),seq=1time=1195.44 ms
connected to 173.252.207.108:443(402bytes),seq=2time=940.84 ms
connected to 173.252.207.108:443
...
继续阅读
(48)