curl time

# cat curl-format.txt

time_namelookup:  %{time_namelookup} 

time_connect:  %{time_connect} 

time_appconnect:  %{time_appconnect} 

time_redirect:  %{time_redirect} 

time_pretransfer:  %{time_pretransfer} 

time_starttransfer:  %{time_starttransfer} 


time_total:  %{time_total} 

  

curl -w "@curl-format.txt" -o /dev/null -s -L http://test-domain.com

  

原文地址:https://www.cnblogs.com/allenhaozi/p/9478090.html