Monday, April 25, 2016

FreeBSD: speed test util

Just saw on youtube how to run the speed test in the terminal. Not sure if it is the same as http://www.speedtest.net/ but it looks very similar.



1. Add the package py-pip, which is a tool for installing and managing Python packages:

# pkg install py27-pip


2. Then install speedtest-cli:

# pip install speedtest-cli


3. That's all. Just run the the speedtest-cli to get the results:

# speedtest-cli
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Netvigator (119.237.167.52)...
Selecting best server based on latency...
Hosted by STC (Hong Kong) [2.81 km]: 2.327 ms
Testing download speed........................................
Download: 165.06 Mbit/s
Testing upload speed..................................................
Upload: 112.08 Mbit/s


References:
https://youtu.be/9XjK76eIsvM
https://www.freshports.org/devel/py-pip/

No comments:

Post a Comment