To find a website response time and other statistics, use curl command in linux with following options:
curl -s -w '\n Statistics for :%{url_effective}\n Remote IP:\t\t%{remote_ip}\n Name Lookup Time:\t%{time_namelookup}\n TCP Connect Time:\t%{time_connect}\n SSL Connect Time:\t%{time_appconnect}\n Redirect Time:\t\t%{time_redirect}\n Pre-transfer Time:\t%{time_pretransfer}\n Start-transfer Time:\t%{time_starttransfer}\n Total Time:\t\t%{time_total}\n HTTP Code:\t\t%{http_code}\n' -o /dev/null https://www.amazon.com
Statistics for : https://www.amazon.com/
Remote IP: 54.192.139.249
Name Lookup Time: 0.253042
TCP Connect Time: 0.326341
SSL Connect Time: 0.498637
Redirect Time: 0.000000
Pre-transfer Time: 0.498744
Start-transfer Time: 0.718770
Total Time: 1.270710
No comments:
Post a Comment