Last active
January 2, 2018 22:48
-
-
Save mwleeds/5b958bb6e68af0f37bc3481806535b00 to your computer and use it in GitHub Desktop.
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 | |
if [[ ! -f speedtest.py ]]; then | |
wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | |
fi | |
for i in `seq 400`; do | |
echo -e "\n`date --iso-8601=seconds`\n" >> speedtest.log | |
python speedtest.py --simple |& tee -a speedtest.log | |
echo "Connectivity: `nmcli networking connectivity`" >> speedtest.log | |
sleep 5 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment