curl -s -w @stats.curl -o /dev/null https://www.google.fr
Avec le fichier stats.curl
contenant :
url_effective : %{url_effective}\n
content_type : %{content_type}\n
filename_effective: %{filename_effective}\n
ftp_entry_path : %{ftp_entry_path}\n
http_code : %{http_code}\n
http_connect : %{http_connect}\n
http_version : %{http_version}\n
local_ip : %{local_ip}\n
local_port : %{local_port}\n
remote_ip : %{remote_ip}\n
remote_port : %{remote_port}\n
scheme : %{scheme}\n
num_connects : %{num_connects}\n
num_redirects : %{num_redirects}\n
redirect_url : %{redirect_url}\n
size_download : %{size_download}\n
size_header : %{size_header}\n
size_request : %{size_request}\n
size_upload : %{size_upload}\n
ssl_verify_result : %{ssl_verify_result}\n
time_namelookup : %{time_namelookup}\n
time_connect : %{time_connect}\n
time_appconnect : %{time_appconnect}\n
time_pretransfer : %{time_pretransfer}\n
time_redirect : %{time_redirect}\n
time_starttransfer: %{time_starttransfer}\n
time_total : %{time_total}\n
speed_download : %{speed_download}\n
speed_upload : %{speed_upload}\n
Sortie :
url_effective : https://www.google.fr/
content_type : text/html; charset=ISO-8859-1
filename_effective: /dev/null
ftp_entry_path :
http_code : 200
http_connect : 000
http_version : 2
local_ip : 192.168.0.11
local_port : 55914
remote_ip : 216.58.198.195
remote_port : 443
scheme : HTTPS
num_connects : 1
num_redirects : 0
redirect_url :
size_download : 10872
size_header : 657
size_request : 77
size_upload : 0
ssl_verify_result : 0
time_namelookup : 0,013082
time_connect : 0,021836
time_appconnect : 0,064367
time_pretransfer : 0,064677
time_redirect : 0,000000
time_starttransfer: 0,116259
time_total : 0,118019
speed_download : 92120,000
speed_upload : 0,000