Commit a8adda20 authored by scuq's avatar scuq

Update ws_perf.sh

parent f1315e31
......@@ -13,6 +13,6 @@ echo "testing $URL"
while true; do
NOW=$(date +"%Y-%m-%d_%H:%M:%S")
echo -n $NOW;
curl -o /dev/null -w ": HttpCode: %{http_code} Connect: %{time_connect} TTFB: %{time_starttransfer} Total time: %{time_total} \n" ${URL} --silent
curl --connect-timeout 5 -o /dev/null -w ": HttpCode: %{http_code} Connect: %{time_connect} TTFB: %{time_starttransfer} Total time: %{time_total} \n" ${URL} --silent
sleep ${INTERVAL}
done
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment