1. Curl View Web site RT
Curl-o/dev/null -s-w%{time_namelookup}::%{time_connect}::%{time_starttransfer}::%{time_total}::%{speed _download}"\ n""http://www.taobao.com" 02.0. 014::0.015::0.018::0.019::1516256.00
2. Parameters of Curl
Speed_download: Next week speed Unit byte/s
3. The above time RT understanding "Unit is the second"
- 0.014:dns the time unit of the server parsing www.taobao.com is s
- 0.015:client the time that a request is made to C/s to establish TCP, including the time of DNS resolution
- 0.018:client the time at which the first byte of a response is emitted, including the previous 2 time
- 0.019:client sends a request, to S to send the response data all to the client, and to turn off the connect time
- 1516256.00: The speed of data next week
- 1. Establish a TCP connection to the time that the server returns the first byte of the client: 0.018s- 0.015s = 0.003s
- 2. Server time to send response data to client: 0.019s- 0.018 = 0.01s
Curl View response time (RT) for a Web site