模板
\n
dns解析时间: %{time_namelookup}\n
连接时间(到tcp链接建立完成): %{time_connect}\n
连接建立完成时间(三次握手): %{time_appconnect}\n
time_pretransfer: %{time_pretransfer}\n
time_redirect: %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
下载大小: %{size_download} \n
下载速度: %{speed_download} \n
content_type: %{content_type} \n
----------\n
跳转次数: %{num_redirects}\n
请求状态码: %{http_code}\n
总用时: %{time_total}\n
\n
请求发起
curl -w "@curl.txt" -o mobile.html -s https://www.baidu.com
附加代理
curl -w "@curl.txt" -x 113.85.23.177:17848 -s https://www.baidu.com
详细文档
CURL -w 参数详解