Created
October 20, 2017 22:26
-
-
Save kowalcj0/299ca343b5fba6973d14497ef3f665be to your computer and use it in GitHub Desktop.
simple script to check avg response times from a list of hosts stored in a file (ips)
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
sudo sh -c 'while read -r line; do echo "$line"; ping -f -q -4 -c 50 "$line" | grep rtt | cut -d"/" -f2,5; done <ips' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment