Internet Speed Test: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
= Download Tool =
= Download Tool =
<pre>
<pre>
wget https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py --no-check-certificate
wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py --no-check-certificate
chmod a+rx speedtest_cli.py
chmod a+rx speedtest.py
mv speedtest_cli.py /usr/local/bin/speedtest-cli
mv speedtest.py /usr/local/bin/speedtest
</pre>
</pre>


= Run =
= Run =
<pre>
<pre>
speedtest-cli
speedtest
</pre>
</pre>


List the 8 closest test servers.
List the 8 closest test servers.
<pre>
<pre>
speedtest-cli --list | head -n 10
speedtest --list | head -n 10
</pre>
</pre>


Speedtest against a specific server.
<pre>
<pre>
speedtest-cli --server=2604  #Telstra (Brisbane, Australia)
speedtest --server=2604  #Telstra (Brisbane, Australia)
speedtest-cli --server=6119  #AARNet (Brisbane, Australia)
speedtest --server=6119  #AARNet (Brisbane, Australia)
speedtest-cli --server=1594  #'Yes' Optus (Brisbane, Australia)
speedtest --server=1594  #'Yes' Optus (Brisbane, Australia)
speedtest-cli --server=3001  #GCOMM Pty. Ltd. (Brisbane, Australia)
speedtest --server=3001  #GCOMM Pty. Ltd. (Brisbane, Australia)
speedtest-cli --server=5386  #IX Australia (Brisbane, Australia)
speedtest --server=5386  #IX Australia (Brisbane, Australia)
speedtest-cli --server=2165  #Internode (Brisbane, Australia)
speedtest --server=2165  #Internode (Brisbane, Australia)
</pre>
</pre>



Latest revision as of 00:57, 29 November 2016

To preform a speed test form a Linux shell with no GUI using speedtest.net

Download Tool

wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py --no-check-certificate
chmod a+rx speedtest.py
mv speedtest.py /usr/local/bin/speedtest

Run

speedtest

List the 8 closest test servers.

speedtest --list | head -n 10

Speedtest against a specific server.

speedtest --server=2604  #Telstra (Brisbane, Australia)
speedtest --server=6119  #AARNet (Brisbane, Australia)
speedtest --server=1594  #'Yes' Optus (Brisbane, Australia)
speedtest --server=3001  #GCOMM Pty. Ltd. (Brisbane, Australia)
speedtest --server=5386  #IX Australia (Brisbane, Australia)
speedtest --server=2165  #Internode (Brisbane, Australia)

Results

Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Testing from Powertel Internet Service Provider (xxx.xxx.xxx.xxx)...
Selecting best server based on latency...
Hosted by Telstra (Brisbane) [1.52 km]: 59.744 ms
Testing download speed........................................
Download: 24.36 Mbits/s
Testing upload speed..................................................
Upload: 30.33 Mbits/s