Last active
April 16, 2018 03:11
-
-
Save suryaloe/4088ed55d3805839a4bb885f33c796e5 to your computer and use it in GitHub Desktop.
Check speed website with Curl Command
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
| #!/bin/bash | |
| curl -s -w %{time_total}\\n -o /dev/null http://suryaloe.id | |
| #---Output---- | |
| #0,378 |
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
| #!/bin/bash | |
| curl -w '\nLookup time:\t%{time_namelookup}\nConnect time:\t%{time_connect}\nPreXfer time:\t%{time_pretransfer}\nStartXfer time:\t%{time_starttransfer}\n\nTotal time:\t%{time_total}\n' -o /dev/null -s http://suryaloe.id/ | |
| #---Output---- | |
| #Lookup time: 0,004 | |
| #Connect time: 0,007 | |
| #PreXfer time: 0,007 | |
| #StartXfer time: 0,302 | |
| #Total time: 0,302 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment