On Sat, December 31, 2005 12:48 am, Richard Wallman said: > > For anyone else who has the ClamAV support in Exim enabled, and wants to > get some stats about the viruses it stops: > > cat /var/log/exim4/rejectlog.1 | awk -F 'malware ' '/malware/ > {gsub(/[(|)]/,"",$2);count[$2]+=1; total+=1} END {for (virus in count) > print(virus","count[virus]);print("Total,"total)}' | sort -t, -rnk2 > > Reports back: > > Total,476 > Worm.Mytob.KG,187 > ...
Great script. Thanks. -- Good day, eh. Chris _______________________________________________ http://lurker.clamav.net/list/clamav-users.html