Skip to content

Instantly share code, notes, and snippets.

@ianhomer
Last active June 6, 2021 17:22
Show Gist options
  • Save ianhomer/14b3b5438cd70a7797bea43ab4b7b2c7 to your computer and use it in GitHub Desktop.
Save ianhomer/14b3b5438cd70a7797bea43ab4b7b2c7 to your computer and use it in GitHub Desktop.
Log Network Speed Test
#!/bin/bash
#
# brew install speedtest-cli
#
# crontab -e
# log speedtest
# 0 * * * * /path/log-speedtest.sh
export LOG=~/.speedtest.log
echo "----" >> ${LOG}
date >> ${LOG}
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | grep " SSID" >> ${LOG}
speedtest-cli --simple >> ${LOG}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment