curl
curl --connect-timeout 10 -o /dev/null -ILsw "%{http_code}|namelookup:%{time_namelookup}|connect:%{time_connect}|appconnect:%{time_appconnect}|redirect:%{time_redirect}|total:%{time_total}\n" \
http://www.gstatic.com/generate_204
curl --connect-timeout 10 -o /dev/null -ILsw "%{http_code}|namelookup:%{time_namelookup}|connect:%{time_connect}|appconnect:%{time_appconnect}|redirect:%{time_redirect}|total:%{time_total}\n" \
http://www.gstatic.com/generate_204