httping使用

httping –help: 显示帮助

httping -V: 显示版本

1.httping国内网站

I) httping -g http://www.jd.com -c 5 -t 5 -F -s

-g: url地址
-c: ping次数
-t: 延时
-F: TCP fast open
-s: status

II) httping -g https://www.jd.com -c 5 -t 5 -l -s

-l: ssl

2.httping国外网站

I) httping -5 -x 127.0.0.1:1080 -g https://www.youtube.com -c 5 -t 5 -l -s

-5: socks5
-x: proxy,ip:port

II) httping -5 -x 127.0.0.1:1080 -g https://www.youtube.com -c 5 -t 5 -l -s -Y –threshold-red 4000 –threshold-yellow 3000

-Y: 颜色
–threshold-yellow: 超过设定值显示黄色
–threshold-red: 超过设定值(>黄色值)显示红色

 

版权声明:本文为wanguo原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/wanguo/p/httping_5_x_l.html