INT 21h

Hi, I am Vladimir Smagin, SysAdmin and Kaptain. Telegram Email / GIT / RSS / GPG

Анализ логов Apache на количество заходов с 1 IP

№ 2545 В разделе Sysadmin от February 9th, 2011,
В подшивках: ,

cat log | perl -e 'while(<>){$p{$1}++while/((\d{1,3}\.){3}\d{1,3})/g};print"$_ $p{$_}\n"for keys%p'

Нет комментариев »

Leave a Reply

Your email address will not be published. Required fields are marked *


Облачная платформа

Fortune cookie: Q: Why is Mrs. Carter always on top when she and Jimmy make love? A: Because all Jimmy Carter can do is fuck up.