From a9ea07699e4f8c7b65d9ccb84d1ccc993f9e3cad Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Sat, 11 Nov 2023 22:55:28 -0500 Subject: Initial commit of simple functional speedtest log This series of scripts simply calls speedtest-cli python module to basically log its data to a tsv file (expected log.tsv) This will basically allow then ./plot.sh to plot the file datapoints The idea is to set this up as a cron and then you can plot the data over time --- chart.gnuplot | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 chart.gnuplot (limited to 'chart.gnuplot') diff --git a/chart.gnuplot b/chart.gnuplot new file mode 100644 index 0000000..1d674e3 --- /dev/null +++ b/chart.gnuplot @@ -0,0 +1,12 @@ +set datafile separator ' ' +#set xlabel "timestamp" +set ylabel "Mbps" +set title "Speedtest" +#set xdata time +#set timefmt "%Y-%m-%dT%H:%M:%S%Z" +#set format x "%m-%dT%H" +set format y "%.2s%cb" +#plot "log.tsv" using 4:7 with lines title "Download", \ +#"log.tsv" using 4:8 with lines title "Upload" +plot "log.tsv" using :7 with linespoint title "Download", \ +"log.tsv" using :8 with linespoint title "Upload" \ No newline at end of file -- cgit v1.2.3-54-g00ecf