akersten / speedgraph

A toolkit for graphing network speed over time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

speedgraph

A toolkit for graphing network speed over time

Overview

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.

Technologies

This project is an amalgamation of existing utilities and tools - the glue is shell script and python.

Setup

git clone git@github.com:akersten/speedgraph.git
cd speedgraph
chmod +x speedgraphing.sh

Dependencies

  • Python3
  • python3-matplotlib package (from your package manager or from source)
  • speedtest-cli (automatically downloaded if not present)
  • grep, chmod, wget

Usage

./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 and today.png will be dynamically symlinked to the current day's file

Contributors

Alex Kersten

About

A toolkit for graphing network speed over time

License:MIT License


Languages

Language:Python 69.6%Language:Shell 30.4%