curl url -s --write-out "Total Time: %{time_total} Code: %{http_code} downloadsize: %{size_download}" -o output
eg:
curl https://www.google.com -s --write-out "Total Time: %{time_total} Code: %{http_code} downloadsize: %{size_download}" -o output
outputs: Total Time: 0.234000 Code: 200 downloadsize: 24744
No comments:
Post a Comment