Created
April 11, 2023 08:47
-
-
Save jdavidzapatab/a18a8c0d3304017bc616167edc705c61 to your computer and use it in GitHub Desktop.
Mac Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Flush DNS | |
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder; | |
# Simple website connection test/benchmarks | |
curl --verbose -H "Connection: close" -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 -s https://google.com | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment