Skip to content

Instantly share code, notes, and snippets.

@codatory
Created January 2, 2013 20:50
Show Gist options
  • Save codatory/4437874 to your computer and use it in GitHub Desktop.
Save codatory/4437874 to your computer and use it in GitHub Desktop.
#!/bin/bash
SERVERS=( 8.8.8.8 8.8.4.4 209.244.0.3 209.244.0.4 )
for server in ${SERVERS[@]}; do
date -u "+%Y-%m-%d %H:%M UTC : Testing $server"
mtr -lrwc 20 -o 'LDRS NBAW V JMXI' $server
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment