deang@nwit.dvet.tas.gov.au wrote:
>Has anybody written a script that shows what an certain ip address
>accessed?
>ie: 147.109.203.15 accessed http://www.playboy.com/ 1001 times
Try this:
grep -F "147.109.203.15" access.log | sort -k 7rn | cut -f 7 -d ' ' | uniq -c
Our logs are in harvest format.
dave
--------------------------------------------------------------- davew@kerna.ie
Dave Wilson, Network Engineer,
Kerna Communications, Computer Centre, UCD, Belfield, Dublin 4.
Received on Tue Dec 03 1996 - 01:23:13 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:33:49 MST