Apache: monitoring of site with watch/curl.

-> watch -n 300 'curl -I http://site.com:3080 2>/dev/null | egrep "HTTP|Date" | tee -a site.curl.txt'

results

TTP/1.1 200 OK
Date: Tue, 09 Feb 2016 12:23:27 GMT
HTTP/1.1 200 OK
Date: Tue, 09 Feb 2016 12:24:31 GMT
HTTP/1.1 200 OK
Date: Tue, 09 Feb 2016 12:29:31 GMT
...
...
Scroll to top