rowt/stats/s.sh

7 lines
153 B
Bash
Executable File

#!/bin/bash
rm -rf tmp
mkdir tmp
scp root@128.140.64.118:"/var/log/nginx/access.log*" ./tmp/
zcat -f ./tmp/access.log* | goaccess --log-format=COMBINED