Measure downtime
for n in {1..2000}; do printf `date +"%H:%M:%S"`-; | |
curl -I example.com 2>/dev/null | head -n 1|cut -d$' ' -f2 ; done |
for n in {1..2000}; do printf `date +"%H:%M:%S"`-; | |
curl -I example.com 2>/dev/null | head -n 1|cut -d$' ' -f2 ; done |