目次

httping

HTTPのレイテンシーを測れる

http://www.vanheusden.com/httping/

インストール

# wget http://www.vanheusden.com/httping/httping-2.3.4.tgz
# tar zxvf httping-2.3.4.tgz
# cd httping-2.3.4
# ./configure
# make
# cp httping /usr/local/bin/

CentOS6

# rpm -Uvh epel-release*rpm
# yum install httping

実行例

# httping -s http://fl8.jp
PING fl8.jp:80 (/):
connected to 182.48.51.190:80 (183 bytes), seq=0 time= 27.54 ms 200 OK
connected to 182.48.51.190:80 (183 bytes), seq=1 time= 27.09 ms 200 OK
connected to 182.48.51.190:80 (183 bytes), seq=2 time= 28.36 ms 200 OK
connected to 182.48.51.190:80 (183 bytes), seq=3 time= 26.52 ms 200 OK
connected to 182.48.51.190:80 (183 bytes), seq=4 time= 30.76 ms 200 OK
connected to 182.48.51.190:80 (183 bytes), seq=5 time= 24.34 ms 200 OK
Got signal 2
--- http://fl8.jp/ ping statistics ---
6 connects, 6 ok, 0.00% failed, time 5327ms
round-trip min/avg/max = 24.3/27.4/30.8 ms