in reply to Running speedtest-cli with Perl and cron

Why use speedtest-cli (written in python) when a perl version that can do more exists?

I wrote speedtest in perl because the author of speedtest-cli is not very open to new suggestions (and because python sucks).

$ speedtest --help usage: speedtest [ --no-geo | --country=NL ] [ --list | --ping ] [ opt +ions ] --geo use Geo location (default true) for closest test +server --all include *all* servers (default only in own count +ry) -c --country=IS use ISO country code for closest test server -1 --one-line show summary in one line -l --list list test servers in chosen country sorted by di +stance -p --ping list test servers in chosen country sorted by la +tency --url show server url in list -s --server=nnn use testserver with id nnn --url=sss use specific server url (do not scan) ext php --mini=sss use specific server url (do not scan) ext from s +ss --download test download speed (default true) --upload test upload speed (default true) -q --quick[=20] do a quick test (only the fastest 20 tests) -Q --realquick do a real quick test (only the fastest 10 tests) -T --try[=5] try all tests on the n fastest servers -v --verbose[=1] set verbosity --simple alias for -v0 --ip show IP for server -V --version show version and exit -? --help show this help speedtest --list speedtest --ping --country=BE speedtest speedtest -s 4358 speedtest --url=http://ookla.extraip.net speedtest -q --no-download speedtest -Q --no-upload $ speedtest Testing for 1.1.1.1 : XS4ALL Internet BV (NL) Using 4358: 53.18 km 50 ms KPN Test download ........................................Download: 93.8 +29 Mbit/s Test upload ........................................Upload: 117.2 +57 Mbit/s $ speedtest -1v0 DL: 93.877 Mbit/s, UL: 116.910 Mbit/s

Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^2: Running speedtest-cli with Perl and cron
by Discipulus (Canon) on Dec 12, 2014 at 10:05 UTC
    ++ for your speedtest Tux!! just tried and i'm very happy with it.
    L*
    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.