A toolkit for graphing network speed over time
Graphing the network speed over time is a useful metric for diagnosing network congestion issues. This toolkit generates network-speed-over-time graphs at a specified interval.
This project is an amalgamation of existing utilities and tools - the glue is shell script and python.
git clone git@github.com:akersten/speedgraph.git
cd speedgraph
chmod +x speedgraphing.sh
- Python3
python3-matplotlib
package (from your package manager or from source)- speedtest-cli (automatically downloaded if not present)
grep
,chmod
,wget
./speedgraphing.sh
- When running the script, the user is prompted for a test interval (default 3 minutes)
- Raw data and generated png graphs are presented in
./output
- The format of the data is text files and pngs (
yyyy.mm.dd.txt
and.png
) containing that day's speeds - The text output is also emitted on stdout
- Files named
today.txt
andtoday.png
will be dynamically symlinked to the current day's file