Browse Source

added original bash script

master
Warren Argus 5 months ago
parent
commit
a565bef169
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      speedtest.sh

+ 7
- 0
speedtest.sh View File

@@ -0,0 +1,7 @@
#!/bin/bash
for OUTPUT in $(speedtest --list |grep $1 |awk '{print substr($1,1, length($1)-1)}')
do
speedtest --server $OUTPUT >> log_speedtest.$1.`date +"%Y%m%d_%H"`.log
done

cat log_speedtest.$1.* |egrep "Upload|Download|Hosted by"

Loading…
Cancel
Save