curl -o /dev/null -s -w %{time_namelookup}::%{time_connect}::%{time_starttransfer}::%{time_total}::%{speed_download}"\n" -d "param1=value1¶m2=value2" "http://127.0.0.1:8081/detail"
- -w:按照后面的格式寫出rt
- time_namelookup:DNS 解析域名[www.taobao.com]的時間
- time_commect:client和server端建立TCP 連接的時間
- time_starttransfer:從client發出請求;到web的server 響應第一個字節的時間
- time_total:client發出請求;到web的server發送會所有的相應數據的時間
- speed_download:下周速度 單位 byte/s
http://blog.csdn.net/caoshuming_500/article/details/14044697