Speedtest.net is an online service that allows you to test your broadband connection by downloading a file from a speedtest.net server located near you. This utility allows you to use the command line to access the service.
Step 1: Login into the server using root credentials on putty .
Step 2 : Install python pip packages in order to install SpeedTest-cli with the below command.
Command : # apt-get install python-pip
Step 3 : To install the SpeedTest client with pip, run the following command.
Command : # pip install speedtest-cli
Step 4 : At last , run speedtest-cli for upload and download speed test.
Command : # speedtest-cli
THANK YOU !