From 13eb2d51c7284472efabc278bf9b7ec0b8575e47 Mon Sep 17 00:00:00 2001 From: doc Date: Sun, 14 Sep 2025 22:13:41 +0000 Subject: first commit --- mirror-watch.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 mirror-watch.sh (limited to 'mirror-watch.sh') diff --git a/mirror-watch.sh b/mirror-watch.sh new file mode 100755 index 0000000..24f5e80 --- /dev/null +++ b/mirror-watch.sh @@ -0,0 +1,7 @@ +#!/bin/bash +LOG=/var/log/nginx/access.log +echo "=== Mirror Hits Report (last 24h) ===" +goaccess $LOG --log-format=COMBINED --date-spec=hr \ + --ignore-crawlers \ + --no-progress \ + -o - | awk 'NR>5 && NR<20' -- cgit v1.2.3