Skip to content

Instantly share code, notes, and snippets.

@bkmeneguello
Created May 17, 2019 11:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bkmeneguello/c8a0da5e4573cdef3c15bf23bbdbf93e to your computer and use it in GitHub Desktop.
Save bkmeneguello/c8a0da5e4573cdef3c15bf23bbdbf93e to your computer and use it in GitHub Desktop.
echo <<EOT > curl-format.txt
time_namelookup: %{time_namelookup}\n
time_connect: %{time_connect}\n
time_appconnect: %{time_appconnect}\n
time_pretransfer: %{time_pretransfer}\n
time_redirect: %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
----------\n
time_total: %{time_total}\n
EOT
curl -w @curl-format.txt -o /dev/null -s <target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment