erlug
[Top] [All Lists]

Re: [Erlug] statistiche virus con shell script

To: erlug@xxxxxxxxxxxxxx
Subject: Re: [Erlug] statistiche virus con shell script
From: Vito Pascali <mailing-list@xxxxxxxxxxxxx>
Date: Wed, 16 Feb 2005 12:30:00 +0100
Linksystem-Smtp Scan


man uniq, in particolare l'opzione '-c'.

Grande!!
ora con #cat /cache/LOG | grep '(*)!' | gawk '{ print$10 }' | uniq -c | sort -nr
ottengo esattamente quello che volevo:

     5 (Worm.SomeFool.P)!
     3 (Worm.SomeFool.P)!
     2 (Worm.SomeFool.X)!

Ora volendo creare un qualcosa di grafico invece (tipo mrtg) ci sono tool che consigliate?
tnx again
Vito

<Prev in Thread] Current Thread [Next in Thread>