命令如下:
time curl 'http://www.baidu.com' -o /tmp/test.html -s -w %{http_code}:%{http_connect}:%{content_type}:%{time_namelookup}:%{time_redirect}:%{time_pretransfer}:%{time_connect}:%{time_starttransfer}:%{time_total}:%{speed_download}
命令如下:
time curl 'http://www.baidu.com' -o /tmp/test.html -s -w %{http_code}:%{http_connect}:%{content_type}:%{time_namelookup}:%{time_redirect}:%{time_pretransfer}:%{time_connect}:%{time_starttransfer}:%{time_total}:%{speed_download}
转载于:https://my.oschina.net/u/3337958/blog/856057