- Speedtest.net CLI
cron
git
- Python 3.6 or later (only to plot results)
- Set up
cron
by launchingcrontab -e
. - Add the following line:
* * * * * speedtest -f csv >> <out_file>
where <out_file>
is the absolute path to out.csv
in this repository.
To reset the history of recorded data, run
git checkout out.csv
Create a virtual environment:
python3 -m venv <venv_name>
Activate the virtual environment (source <venv_name>/bin/activate
), then install dependencies:
pip3 install numpy plotly
Finally, execute the script to generate the plots:
python3 plot.py
This will produce the files speed.html
and latency.html
, containing the desired plots.