Below is a list of commands to run on your WHM, cPanel, and Plesk servers to conduct a speed test using speedtest.net via terminal on your server. Open terminal and follow the below steps.

Install one dependency

yum install -y python

Enter the root directory

cd ~

Retrieve the Python script using wget

wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py 

Make the speedtest.py script executable

chmod +x speedtest.py

Run the script to see your download/upload speeds

./speedtest.py

Want your results in an image?

./speedtest.py --share

Using this option will post a link in the terminal window in which you can copy to a browser and get the result like the below in image format.

Original post

Call Now! Enquire Now!