Tip & Tech

curl 사용해서 접속속도 테스트

event2017-11-01 1969 views

//응답속도 체크

curl -o /dev/null -s -w %{time_connect}:%{time_starttransfer}:%{time_total} https://www.80000v.net

curl -o /dev/null -s -w %{time_connect}:%{time_starttransfer}:%{time_total} http://www.80000v.net

curl -o /dev/null -s  -w %{time_total}\\n https://www.80000v.net/

 

//리턴코드 체크

curl -s -o /dev/null -w "%{http_code}\n" https://www.80000v.net/

 

//응답코드와  시간 체크

curl -o /dev/null -s -w "%{http_code}:%{time_connect}:%{time_total}:%{size_download}:%{content_type}" http://www.80000v.net

클립보드에 복사되었습니다.