better stats

This commit is contained in:
2025-01-24 20:21:24 +01:00
parent e9e40892c2
commit 015eb697e3

View File

@@ -1,5 +1,11 @@
#!/bin/bash #!/bin/bash
curl -L http://52.203.236.205:8080/ -o stats1.html curl --no-progress-meter -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: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