diff options
author | doc <doc@filenotfound.org> | 2025-09-14 22:13:41 +0000 |
---|---|---|
committer | doc <doc@filenotfound.org> | 2025-09-14 22:13:41 +0000 |
commit | 13eb2d51c7284472efabc278bf9b7ec0b8575e47 (patch) | |
tree | 9f0ea15fdc908a2afe4d315beb112fe9545db02e /mirror-watch.sh |
Diffstat (limited to 'mirror-watch.sh')
-rwxr-xr-x | mirror-watch.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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' |