README 1.22 KB
Newer Older
Mike Smith's avatar
Mike Smith committed
1
To run:
Mike Smith's avatar
Mike Smith committed
2
wget -N https://git.sphere.ly/staff/speedtest/raw/master/speedtest.sh&&bash speedtest.sh [-a CYCLES] [-m CYCLES] [-p] [-s] [-t]
Mike Smith's avatar
Mike Smith committed
3

Mike Smith's avatar
Mike Smith committed
4
Options:
Mike Smith's avatar
Mike Smith committed
5
    -a CYCLES       Turn on all options.  Must specify CYCLES for MTR to run
Mike Smith's avatar
Mike Smith committed
6
7
8
    -m CYCLES       Turn on MTR and run for CYCLES
    -p              Turn on ping option
    -s              Turn on speedtest option
Mike Smith's avatar
Mike Smith committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    -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