From 015eb697e37bd4ebe6434e61dbd18af84bc6f149 Mon Sep 17 00:00:00 2001 From: scossa Date: Fri, 24 Jan 2025 20:21:24 +0100 Subject: [PATCH] better stats --- make_stats.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/make_stats.sh b/make_stats.sh index f7546f8..0ee5b9f 100755 --- a/make_stats.sh +++ b/make_stats.sh @@ -1,5 +1,11 @@ #!/bin/bash -curl -L http://52.203.236.205:8080/ -o stats1.html -curl -L http://52.203.236.205:8081/ -o stats2.html +curl --no-progress-meter -L http://52.203.236.205:8080/ -o stats1.html +curl --no-progress-meter -L http://52.203.236.205:8081/ -o stats2.html +curl --no-progress-meter -L http://52.203.236.205:8080/download/userViewer.json -o userViewer.json +curl --no-progress-meter -L http://52.203.236.205:8080/download/userVieweOperation.json -o userVieweOperation.json +sed -i 's|/download/userViewer.json|./userViewer.json|g' stats1.html +sed -i 's|/download/userViewer.json|./userViewer.json|g' stats2.html +sed -i 's|/download/userVieweOperation.json|./userVieweOperation.json|g' stats1.html +sed -i 's|/download/userVieweOperation.json|./userVieweOperation.json|g' stats2.html