Last active
July 26, 2017 01:45
-
-
Save pingec/6155729e6c8623cc742a6a946e1f8da7 to your computer and use it in GitHub Desktop.
Log speedtest on openwrt router
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SPEED=$(wget http://ftp.arnes.si/pub/packages/debian/dists/Debian8.7/main/Contents-amd64.gz -O /dev/null 2>&1 | grep saved) | |
| PING=$(ping google.com -c10 2>&1 | grep round) | |
| STATIONS=$(iw dev wlan0 station dump | grep Station) | |
| echo $SPEED $PING $STATIONS >> /tmp/speedtest.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment