We use this tool to check speed of internet on Linux server.
Command :
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python –
The result of this command will look like :
Retrieving speedtest.net configuration…
Testing from Comcast Business (173.11.63.185)…
Retrieving speedtest.net server list…
Selecting best server based on ping…
Hosted by Bertram Communications (Iron Ridge, WI) [103.68 km]: 47.053 ms
Testing download speed……………………………………………………………………..
Download: 168.12 Mbit/s
Testing upload speed……………………………………………………………………………………
Upload: 18.18 Mbit/s
root@BDRACE01:~#