Speedtest-cli is a Python package used for testing network speed. To install it, run the following command:
pip install speedtest-cli
If you want to test the speed of a proxy server, first set the environment variable:
export http_proxy=http://username:password@proxyserver:port
Replace username
, password
, proxyserver
, and port
with the appropriate values for your proxy server.
Then, execute the following command to test the speed:
speedtest-cli
This will run a speed test using the specified proxy server, providing you with information about the download and upload speeds, as well as the latency.
Note: Make sure to replace xxxxx:[email protected]:1234
with the actual details of your proxy server.