Created
June 14, 2011 10:45
-
-
Save jorgemsrs/1024665 to your computer and use it in GitHub Desktop.
Uptime script
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
echo -n `date` ' ';curl --write-out "Time Lookup: %{time_namelookup} Time Connect: %{time_connect} Time to FB: % time_starttransfer} Download Size: %{size_download} HTTP Status: %{http_code} Num Connects: %{num_connects} Num Redirects: %{num_redirects}\n" --silent --output /dev/null __YOUR_WEBSITE.domain.tld__HERE >> /tmp/uptime.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment