Last active
June 25, 2018 10:43
-
-
Save YasushiKobayashi/4ed7d140364f61e2c125c1ce4bf402cb to your computer and use it in GitHub Desktop.
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/sh | |
i=1 | |
while : | |
do | |
curl -kL http://example.com -o /dev/null -w "status-code %{http_code} \t time %{time_total}" 2> /dev/null & | |
i=`expr $i + 1` | |
if [ $i -gt 20 ]; then | |
break | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment