Skip to content

Instantly share code, notes, and snippets.

@inetbiz
Last active August 5, 2016 14:50
Show Gist options
  • Save inetbiz/46e7ccfb48418a61660c to your computer and use it in GitHub Desktop.
Save inetbiz/46e7ccfb48418a61660c to your computer and use it in GitHub Desktop.
Check your site's server response time! And, do a reverse traceroute in linux / mac shell
# Modify curl for your site lookup at the end of line
curl -s -w '\nLookup time:\t%{time_namelookup}\nConnect time:\t%{time_connect}\nAppCon time:\t%{time_appconnect}\nRedirect time:\t%{time_redirect}\nPreXfer time:\t%{time_pretransfer}\nStartXfer time:\t%{time_starttransfer}\n\nTotal time:\t%{time_total}\n' -o /dev/null http://www.example.com
# Use mtr for reverse traceroute. Change 192.168.1.1 to client reported IP address from whatismyip.com
mtr --report -c 5 192.168.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment