MacOS Monterey added a CLI tool for speedtesting, and I noticed they have a
-c: Produce computer-readable output
So I tried it out: ~ networkquality -c | jq '{dl: (.dl_throughput / 1000000), ul: (.ul_throughput / 1000000)}'
awesome! {
"dl": 176.861488,
"ul": 6.742952
}
(Starlink in Perth, Western Australia)