1
1
Fork 0

added speedtest script

This commit is contained in:
david 2019-09-06 00:21:58 +02:00
parent 8400e80d4a
commit 6d0d1e87a0
1 changed files with 12 additions and 0 deletions

12
speedtest.sh Normal file
View File

@ -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