Answered by the Webhosting Experts
Tags +
...

Hivelocity
Dedicated Servers

Bare Metal Computing
Tired of overpaying for outdated hardware or nonexistent technical support?

Click here to chat with one of our highly skilled account managers for Hivelocity's latest server deals or browse our bare metal servers by clicking the link below.

Tags +
...
Tags
...
...

speedtest-cli: How to Specify a Server

You might use speedtest-cli to test your servers’ network capacity at some point. While the tool itself provides a good platform for running speed tests, sometimes the server selection that the tool provides can be less than optimal. However, you can pass the –list switch to generate a list of speedtest servers. Then, you can use the resulting server ID to target a certain speedtest server.

The following command should show the list:
curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python - --list | grep -i hivelocity
speedtest-cli server list

This will show a list of servers which we operate. The number on the left is the ID, which we will need to replace the ##### with. The last part of the command, grep -i hivelocity will show only the results that have Hivelocity in the name (-i makes it case insensitive). You can then use the --server switch to specify the server when running the speed test, like so:

curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python - --server 18958

The above command will run a speed test against our server in Tampa using speedtest-cli. Please note that the server ID from Speedtest.net may change, so get a new copy of the list each time.

If you would prefer not to pipe the script directly into Python, it can be downloaded as well.

wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
python speedtest.py --list
python speedtest.py --server #####

If you are still not getting the results you expect, feel free to submit a ticket. Be sure to check out our other articles in the knowledgebase for more tips and tricks like this one!

The source code for speedtest-cli can be found here: https://github.com/sivel/speedtest-cli

Share

Facebook
Twitter
LinkedIn
Email
WhatsApp

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.

Watch our servers in their natural habitat

Click here to see more live streams or take a tour of our facilities.

Hivelocity
Dedicated Servers

Bare Metal Computing
Tired of overpaying for outdated hardware or nonexistent technical support?

Click here to chat with one of our highly skilled account managers for Hivelocity's latest server deals or browse our bare metal servers by clicking the link below.