On Sat, 3 Apr 2004 03:21:05 +0200 (CEST)
Jakub Jankowski <[EMAIL PROTECTED]> wrote:

> On 2004-04-02, Antony Stone wrote:
> 
> >On Friday 02 April 2004 10:46 pm, Daniel J McDonald wrote:
> >
> >> grep FOUND clamd.log | cut -d \  -f 2 | sort | uniq -c
> >
> >grep FOUND clamd.log | cut -d \  -f 2 | sort | uniq -c | awk '{print $2,$1}'
> 
> grep FOUND clamd.log | awk '{print $8}' | sort | uniq -c | sort -k1nr,1
> 
> Who's next? ;-)
me :-)
top10 from clamd.log
--------------------
grep FOUND clamd.log | awk '{print $8}' | sort | uniq -c | sort -r | head

top from clamd.log for current day
--------------------
grep FOUND clamd.log | grep \"$(date -j \"+%b %e\")\" | grep \"$(date -j \"+%Y\")\" | 
awk '{print $8}' | sort | uniq -c | sort -r

virus variations counter
-----------------------
grep FOUND clamd.log | awk '{print $8}' | sort | uniq | wc -l

-- 
 Korchmenuk Nickolay
05 Apr 2004 11:03:49


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to