This command line script sends out an email with your current internet connection bandwidth. It is basically a very simple wrapper around speedtest-cli and mail. I run it from cron to keep track of my varying internet bandwidth.
- Make sure you have speedtest-cli installed and operational.
- Also make sure you can send emails from your command line as follows:
$ echo "42" | mail -s "The answer to life the universe and everything" someone@gmail.com
curl -sSL https://raw.github.com/roubles/speedtestmail/master/webinstall.sh | bash
$ speedtestmail someone@gmail.com,someoneelse@gmail.com
I run it once every hour as follows:
0 * * * * /usr/local/bin/speedtestmail someone@gmail.com,someoneelse@gmail.com > /dev/null
curl -sSL https://raw.github.com/roubles/speedtestmail/master/webuninstall.sh | bash