Speed Test CLI is a very useful tool when needing to run speed test remotely or on a set schedule. It runs on any linux platform, so you can run it on a Raspberry Pi although keep in mind the CPU and NIC limitations of the Pi of choice. I run this on my web server that has centOS running on it. Its very simply to setup just a few commands. If you wanted to schedule a cron job to perform the test every hour or something to get some consistent data. I set up a script to post my results to a google spread sheet every hour along with results from 2 other servers so I can get a good idea what is the bottle neck if there was one.
#git clone https://github.com/sivel/speedtest-cli.git
#python speedtest.py –share
#python speedtest.py –server 7178 #(Clearnetworx Server)
#python speedtest.py –server 11393 #(Elevate Fiber Server)
I can share my scripts if interested