added speedtest script
This commit is contained in:
parent
8400e80d4a
commit
6d0d1e87a0
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
# simple speedtest logger
|
||||
# install https://github.com/taganaka/SpeedTest first
|
||||
|
||||
server="speedcheck.liwest.at:8080"
|
||||
options="--output text --test-server $server"
|
||||
timestamp=$(date +%Y/%m/%d_%H:%M)
|
||||
cmd="/usr/local/bin/SpeedTest"
|
||||
result=$($cmd $options | grep -v IP_LAT | grep -v IP_LON | grep -v PROVIDER | grep -v TEST_SERVER_HOST)
|
||||
|
||||
echo $timestamp - $result
|
Loading…
Reference in New Issue