Steven Kurylo wrote:
>> 254 greps over syslog might get a little tiring. Can anyone think of an
>> easier way to do this?
>
> Sticking with quick bash and $5 is the ip address field.
>
> cat source|awk '{print $5}'|sort|uniq -c
Ahh, thanks Steven. That's much better actually, cause I don't have to
worry about wonky 1 == 1,[10-19],[100-199] matches.
Cheers,
lance
Received on Mon Sep 24 11:48:46 2007
This archive was generated by hypermail 2.1.8 : Mon Sep 24 2007 - 11:48:49 CST