Last active
February 16, 2017 11:48
-
-
Save gotterdemarung/fe9410d83637bc4f80ea7ed1b35574c7 to your computer and use it in GitHub Desktop.
Curl response time check
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
$ cat curl-format-short.txt | |
(dns,con,app,pre,start,total): %{time_namelookup},%{time_connect},[%{time_appconnect}],%{time_pretransfer},%{time_starttransfer},%{time_total} - %{http_code}\n | |
$ while true; do echo -n `date +"[%m-%d %H:%M:%S]"` && curl -w "@curl-format-short.txt" -o /dev/null -s <address>; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment