A network speed test is a good way to get a picture of how fast your Internet connection really is. To perform a speed test in Ubuntu, first, install pip using this command.
sudo apt-get install python-pip |
Then install speedtest-cli
.
homer@ubuntu:~$ pip install speedtest-cli Downloading/unpacking speedtest-cli Downloading speedtest-cli-0.3.1.tar.gz Running setup.py (path:/tmp/pip_build_root/speedtest-cli/setup.py) egg_info for package speedtest-cli Installing collected packages: speedtest-cli Running setup.py install for speedtest-cli Installing speedtest script to /usr/local/bin Installing speedtest-cli script to /usr/local/bin Successfully installed speedtest-cli Cleaning up... |
Now perform a speedtest and see how fast or slow your Internet is…
homer@ubuntu:~$ speedtest Retrieving speedtest.net configuration... Retrieving speedtest.net server list... Testing from Dodo Australia (xxx.xxx.xx.xx)... Selecting best server based on latency... Hosted by Internode (Sydney) [14.12 km]: 58.096 ms Testing download speed........................................ Download: 10.40 Mbits/s Testing upload speed.................................................. Upload: 0.67 Mbits/s |
Use the speedtest --list
command to list all speedtest.net servers.
┌──(john㉿DESKTOP-PF01IEE)-[~] └─$ speedtest --list Retrieving speedtest.net configuration... 29570) GCOMM (Sydney, Australia) [10.96 km] 18392) 2degrees (Sydney, Australia) [10.96 km] 3505) Vodafone Hutchison Australia (NN) (Sydney, Australia) [10.96 km] 20057) Launtel (Sydney, Australia) [10.96 km] 21580) Over the Wire (Sydney, Australia) [10.96 km] 21567) i3D.net (Sydney, Australia) [10.96 km] 36157) GigaComm Pty Ltd (Sydney, Australia) [10.96 km] 39585) blueAPACHE (Sydney, Australia) [10.96 km] 37994) Thryve Group - Thryve Broadband (Fairlight, Australia) [20.30 km] 25708) Micron21 Datacentre Pty Ltd (Kilsyth, Australia) [677.67 km] |
This will also list their distance from you.
Another way to get your Internet speed is by using the Netflix Fast service. This has a command line interface. Install it using the command line below.
┌──(john㉿DESKTOP-PF01IEE)-[~] └─$ npm install --global fast-cli (##################) ⠋ reify:lodash: timing reifyNode:node_modules/fast-cli/node_modules/react-devtools-core Completed in 2341ms |
Then run this command to check your Internet speed.
┌──(john㉿DESKTOP-PF01IEE)-[~] └─$ fast -u 50 Mbps ↓ / 8.1 Mbps ↑ |
That is also very easy to do. This makes this test very simple.