Improved usage info
Mike Smith authored
be32cce8
Name Last commit Last update
README Improved usage info
speedtest.sh Improved usage info
To run:
wget -N https://git.sphere.ly/staff/speedtest/raw/master/speedtest.sh&&bash speedtest.sh [-a CYCLES] [-m CYCLES] [-p] [-s] [-t]

Options:
    -a CYCLES       Turn on all options.  Must specify CYCLES for MTR to run
    -m CYCLES       Turn on MTR and run for CYCLES
    -p              Turn on ping option
    -s              Turn on speedtest option
    -t              Turn on traceroute option
    -h              Displays this help message


You can run with any combination of the -m, -p, -s, and -t flags as needed, or simply run with the -a flag to run all options.

##### Examples #####

Run ping, traceroute, speedtest, and MTR with 10 cycles:
wget -N https://git.sphere.ly/staff/speedtest/raw/master/speedtest.sh&&bash speedtest.sh -a 10

Run only ping:
wget -N https://git.sphere.ly/staff/speedtest/raw/master/speedtest.sh&&bash speedtest.sh -p

Run only MTR with 25 cycles:
wget -N https://git.sphere.ly/staff/speedtest/raw/master/speedtest.sh&&bash speedtest.sh -m 25

Run ping and speedtest:
wget -N https://git.sphere.ly/staff/speedtest/raw/master/speedtest.sh&&bash speedtest.sh -p -s

Run speedtest and MTR with 15 cycles:
wget -N https://git.sphere.ly/staff/speedtest/raw/master/speedtest.sh&&bash speedtest.sh -s -m 15