Created
January 8, 2016 02:39
-
-
Save kurochan/1a847145f5139b20cde0 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
curl $1 -o /dev/null -w \ | |
"\ | |
connect to %{url_effective} | |
DNS lookup end: @%{time_namelookup}sec\n\ | |
connection established: @%{time_connect}sec\n\ | |
request sent: @%{time_pretransfer}sec\n\ | |
response receive start: @%{time_starttransfer}sec\n\ | |
=================================================== | |
complete: %{time_total}sec\n\ | |
" \ | |
2> /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment