Skip to content

Instantly share code, notes, and snippets.

@mwleeds
Last active January 2, 2018 22:48
Show Gist options
  • Save mwleeds/5b958bb6e68af0f37bc3481806535b00 to your computer and use it in GitHub Desktop.
Save mwleeds/5b958bb6e68af0f37bc3481806535b00 to your computer and use it in GitHub Desktop.
#!/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