wtorek, 10 września 2013

count request per minut access apache log

grep "10/Sep/2013" access.log| cut -d[ -f2 | cut -d] -f1 | awk -F: '{print $2":"$3}' | sort -nk1 -nk2 | uniq -c | awk '{ if ($1 > 10) print $0}'

Brak komentarzy:

Prześlij komentarz