Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
AndrewVSutherland
GitHub Repository: AndrewVSutherland/lmfdb
Path: blob/main/perfmon/tcurl.sh
1127 views
1
while read line; do
2
for i in `seq 1 $1`; do
3
curl -L -silent -w "\nCurl URL %{url_effective}, HTTP status %{http_code}, Downloaded %{size_download} bytes, Total time %{time_total} secs\n" ${line} | grep -E '( [Ee]rror| [Pp]roblem|Curl)'
4
done
5
done
6
7