• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Command line version of Speedtest

Maelstorm

Well-Known Member

Thanks: 106
Messages: 287

#3
A quick and dirty method might be something like this:

time fetch ftp://ftp.gnu.org/gnu/gcc/gcc-7.2.0/gcc-7.2.0.tar.gz

And then apply the formula:

rate = size / time

But fetch tells you what the rate is in realtime.
 

balanga

Daemon

Thanks: 68
Messages: 2,059

#4
In case anyone wants to try this you need to run speedtest-cli
Here's what I got...
Code:
Retrieving speedtest.net configuration...
Testing from Vectra Broadband (178.235.36.132)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Telkab sp. z o.o. (Tczew) [46.48 km]: 34.278 ms
Testing download speed................................................................................
Download: 132.59 Mbit/s
Testing upload speed................................................................................................
Upload: 11.69 Mbit/s
 
Top