An Improved speedtest program.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long. 236B

  1. #!/bin/bash
  2. for OUTPUT in $(speedtest --list |grep $1 |awk '{print substr($1,1, length($1)-1)}')
  3. do
  4. speedtest --server $OUTPUT >> log_speedtest.$1.`date +"%Y%m%d_%H"`.log
  5. done
  6. cat log_speedtest.$1.* |egrep "Upload|Download|Hosted by"