Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

not really a utility but a very handy one liner to check if someone is being annoying on a http server:

tail -1000 logfile | cut -d ' ' -f 1 | sort | uniq -c | sort -n

Bots should stand out in the last couple of lines and have a linecount that is substantially higher than a normal user.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: