I'm testing out a new ISP and I've observed very inconsistent speed test results. I decided I want to run it periodically and graph them. This is how I do it:
- Use the built-in command
networkQuality
. Run it with the-c
flag so that the output is in JSON format which makes post-processing easier. - Schedule the command to run every hour using
launchd
. - Use a small Python script to process the JSON and output a graph.