Skip to content

Instantly share code, notes, and snippets.

@gorenje
Created March 12, 2013 14:41
Show Gist options
  • Save gorenje/5143437 to your computer and use it in GitHub Desktop.
Save gorenje/5143437 to your computer and use it in GitHub Desktop.
## leave running
while [ 1 ] ; do curl -v "http://mops-eccrine.herokuapp.com/?campaign=FUABRpingdom&network=pingdom" 2>&1 >/dev/null | awk '/Trying/ { printf $3; } /[<] HTTP\/1.1/ { print $3 " " $4; }'; done | tee -a results.txt
## then
sort results.txt | uniq -c | grep -v "0 0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment