App-SpeedTest
view release on metacpan or search on metacpan
lib/App/SpeedTest.pm view on Meta::CPAN
the level to 2.
=item --simple
X<--simple>
An alias for C<-v0>
=item --all
X<--all>
No (default) filtering on available servers. Useful when finding servers
outside of the country of your own location.
=item -g | --geo
X<-g>
X<--geo>
Use GEO-IP service to find the country your ISP is located. The default
is true. If disable (C<--no-geo>), the server to use will be based on
distance instead of on latency.
=item -cXX | --cc=XX | --country=XX
X<-c>
X<--cc>
X<--country>
Pass the ISO country code to select the servers
$ speedtest -c NL ...
$ speedtest --cc=B ...
$ speedtest --country=D ...
=item --list-cc
X<--list-cc>
Fetch the server list and then show the list of countries the servers are
located with their country code and server count
$ speedtest --list-cc
AD Andorra 1
AE United Arab Emirates 4
:
ZW Zimbabwe 6
You can then use that code to list the servers in the chosen country, as
described below.
=item -l | --list
X<-l>
X<--list>
This option will show all servers in the selection with the distance in
kilometers to the server.
$ speedtest --list --country=IS
1: 10661 - Tengir hf Akureyri 1980.02 km
2: 21605 - Premis ehf ReykjavÃk 2039.16 km
3: 3684 - Nova Reykjavik 2039.16 km
4: 6471 - Gagnaveita Reykjavikur Reykjavik 2039.16 km
5: 10650 - Nova VIP Reykjavik 2039.16 km
6: 16148 - Hringidan Reykjavik 2039.16 km
7: 4818 - Siminn Reykjavik 2039.16 km
8: 17455 - Hringdu ReykjavÃk 2039.16 km
9: 4141 - Vodafone ReykjavÃk 2039.16 km
10: 3644 - Snerpa Isafjordur 2192.27 km
=item -p | --ping | --ping=40
X<-p>
X<--ping>
Show a list of servers in the selection with their latency in ms.
Be very patient if running this with L</--all>.
$ speedtest --ping --cc=BE
1: 4320 - EDPnet Sint-Niklaas 148.06 km 52 ms
2: 12627 - Proximus Brussels 173.04 km 55 ms
3: 10986 - Proximus Schaarbeek 170.54 km 55 ms
4: 15212 - Telenet BVBA/SPRL Mechelen 133.89 km 57 ms
5: 29238 - Arcadiz DIEGEM 166.33 km 58 ms
6: 5151 - Combell Brussels 173.04 km 59 ms
7: 26887 - Arxus NV Brussels 173.04 km 64 ms
8: 4812 - Universite Catholiq⦠Louvain-La-Neuv 186.87 km 70 ms
9: 2848 - Cu.be Solutions Diegem 166.33 km 75 ms
10: 12306 - VOO Liège 186.26 km 80 ms
11: 24261 - Une Nouvelle Ville⦠Charleroi 217.48 km 147 ms
12: 30594 - Orange Belgium Evere 169.29 km 150 ms
If a server does not respond, a very high latency is used as default.
This option only shows the 40 nearest servers. The number can be changed
as optional argument.
$ speedtest --cc=BE --ping=4
1: 4320 - EDPnet Sint-Niklaas 148.06 km 53 ms
2: 29238 - Arcadiz DIEGEM 166.33 km 57 ms
3: 15212 - Telenet BVBA/SPRL Mechelen 133.89 km 62 ms
4: 2848 - Cu.be Solutions Diegem 166.33 km 76 ms
=item -1 | --one-line
X<-1>
X<--ono-line>
Generate a very short report easy to paste in e.g. IRC channels.
$ speedtest -1Qv0
DL: 40.721 Mbit/s, UL: 30.307 Mbit/s
=item -B | --bytes
X<-B>
X<--bytes>
Report throughput in Mbyte/s instead of Mbit/s
=item -C | --csv
X<-C>
X<--csv>
Generate the measurements in CSV format. The data can be collected in
a file (by a cron job) to be able to follow internet speed over time.
The reported fields are
( run in 1.777 second using v1.01-cache-2.11-cpan-ceb78f64989 )