Last active
October 20, 2016 18:59
-
-
Save jt2k/9094377 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/sh | |
curl -L -o /dev/null -s -w " Seconds (cumulative) | |
Name lookup: %{time_namelookup} | |
Connect: %{time_connect} | |
Pre-transfer: %{time_pretransfer} | |
Start transfer: %{time_starttransfer} | |
Redirect: %{time_redirect} (if applicable) | |
===== | |
Total: %{time_total} | |
" $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage:
Output: