Access Diving

Access in last 60 Minutes

cPanel : EA4

(for d in $(find /etc/apache2/logs/domlogs/*/* -type f); do echo -e "$(awk -v minTime=$(date -d '60 min ago' '+%Y%m%d%H%M%S') '{split($4,t,/[[ :\/]/); mthNr = sprintf("%02d",(index("JanFebMarAprMayJunJulAugSepOctNovDec",t[3])+2)/3); curTime = t[4] mthNr t[2] t[5] t[6] t[7]} curTime >= minTime ' $d | wc -l)\t$d" ; done;) | sort -nr

cPanel : EA3

(for d in $(find /usr/local/apache/domlogs/*/* -type f); do echo -e "$(awk -v minTime=$(date -d '60 min ago' '+%Y%m%d%H%M%S') '{split($4,t,/[[ :\/]/); mthNr = sprintf("%02d",(index("JanFebMarAprMayJunJulAugSepOctNovDec",t[3])+2)/3); curTime = t[4] mthNr t[2] t[5] t[6] t[7]} curTime >= minTime ' $d | wc -l)\t$d" ; done;) | sort -nr

Plesk

TBD