Last active
June 6, 2021 17:22
-
-
Save ianhomer/14b3b5438cd70a7797bea43ab4b7b2c7 to your computer and use it in GitHub Desktop.
Log Network Speed Test
This file contains 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
#!/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