App-SpeedTest
view release on metacpan or search on metacpan
0.22 2019-09-02
* Add --list-cc
* Add cpanfile
* Add -U / --skip-undef
* Provide cpanfile
* Add help and options to examples/speedtest-graph.pl
* Fix warning when using --no-upload or --no-download (issue#13)
0.21 2019-03-21
* Add --csv-eol-unix
0.20 2019-01-01
* Versions
* It's 2017
* Show a ranked summary of the tries with --try
* It's 2018
* Deal with proxy settings in env
* Add index to list/ping lists
* It's 2019
my $err = shift and select STDERR;
(my $p = $0) =~ s{.*/}{};
print <<"EOH";
usage: $p [ --no-geo | --country=NL ] [ --list | --ping[=n] ] [ options ]
--geo use Geo location (default true) for closest testserver
--all include *all* servers (default only in own country)
-c --country=IS use ISO country code for closest test server
--list-cc list country codes and countries with server count
-1 --one-line show summary in one line
-C --csv output in CSV (stamp,id,ping,tests,direction,speed,min,max)
--csv-eol-unix EOL = NL (default = CR NL) implies -C
-P --prtg output in XML for PRTG
-l --list list test servers in chosen country sorted by distance
-p --ping[=40] list test servers in chosen country sorted by latency
--url show server url in list
-s --server=nnn use testserver with id nnn
--server=file use testserver from file
-t --timeout=nnn set server timeout to nnn seconds
--url=sss use specific server url (do not scan) ext php
"simple!" => sub { $opt_v = 0; },
"man" => sub { pod_nroff (); },
"info" => sub { pod_text (); },
"all!" => \my $opt_a,
"g|geo!" => \$opt_g,
"c|cc|country=s" => \$opt_c,
"list-cc!" => \my $opt_cc,
"1|one-line!" => \my $opt_1,
"C|csv!" => \my $opt_C,
"csv-eol-unix|".
"csv-eol-nl!" => \my $opt_CNL,
"P|prtg!" => \my $opt_P,
"l|list!" => \my $list,
"p|ping:40" => \my $opt_ping,
"url:s" => \my $url,
"ip!" => \my $ip,
"B|bytes" => sub { $unit = [ 8, "byte" ] },
"T|try:5" => \$opt_T,
( run in 1.404 second using v1.01-cache-2.11-cpan-98e64b0badf )