Created
January 29, 2016 13:47
-
-
Save dsalazar-carecloud/c57030b56a745eb6e127 to your computer and use it in GitHub Desktop.
Granular Curl
This file contains 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
curl -w "@formatfile" -k -o /dev/null -s "URI" | |
time_namelookup: 0.064 | |
time_connect: 0.089 | |
time_pretransfer: 0.089 | |
time_redirect: 0.000 | |
time_starttransfer: 0.117 | |
---------- | |
time_total: 0.117 | |
[admin@cc-tm01-cc01 rg-tmp]$ cat formatfile | |
time_namelookup: %{time_namelookup}\n | |
time_connect: %{time_connect}\n | |
time_pretransfer: %{time_pretransfer}\n | |
time_redirect: %{time_redirect}\n | |
time_starttransfer: %{time_starttransfer}\n | |
----------\n | |
time_total: %{time_total}\n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment