Obtain the website response time. (Original works, reprint please be sure to indicate the original source of the article: http://xuclv.blog.51cto.com/5503169/1300219)
1: httping
Introduction:
Httping is a ping-like tool for http requests. A URL that tells you how long it takes to connect, send a request, and response time. It is equivalent to the latency of the web server and the network. Details: http://www.vanheusden.com/httping/
Installation:
Mac: brew install httping
Ubuntu: apt-get install httping
Redhat/centos: http://pkgs.repoforge.org/httping/ download rpm PACKAGE installation: rpm-ivh PACKAGE
Common parameters:
-G url: Specify the URl
-H hostname replaces-g and specifies the Host Name
-P portnumber specifies the port number with-h)
-S: display the connection establishment time + server processing and return time
-S displays HTTP status-code (200,404, etc .).
-G uses GET instead of HEAD as the method for obtaining resources. In this case, the entire page/file requested will be transmitted.
-C count how many times to exit the test
-I interval: interval of each test
-Y Enable colors
-X proxyhost [: port] uses a proxy server, which tests the latency of the proxy server.
More: man httping
Example:
Httping-g www.baidu.com-SsG-c 10-I 2
Httping-x xxx. xxx: 80 www.baidu.com-SsG-c 10-I 2
2: curl: Reference: http://curl.haxx.se/docs/manpage.html
Curl-o/dev/null-s-w % {http_code }:%{ http_connect }:%{ time_namelookup }:%{ time_connect }:%{ time_pretransfer }: % {time_starttransfer }:%{ time_total }:%{ size_download }:%{ speed_download} www.baidu.com
3: Monitoring treasure: http://www.jiankongbao.com/
4: firefox Plugin FireBug: http://getfirebug.com/
5: Ali test: http://alibench.com/
Etc...
This article is from the "cclo blog" blog, please be sure to keep this source http://xuclv.blog.51cto.com/5503169/1300219