To check your Port Speed in Linux Server with SpeetTest Cli. Following the Guide bellow.
To Find the Test Server use the Site - https://www.speedtestserver.com/
Installtion:
wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x speedtest.py
Test Command
python speedtest.py [check speedtest without specifying a server. it will select some random/same server Multiple times]
or python speedtest.py --server [ID-SERVER]