On Mon, 2004-08-02 at 10:15, Julio E. Gonzalez P. wrote:
> I just want to share this bash script to generate virus statistics. I 
> know is not perfect, but do the work.

Seems a bit extreme...
[EMAIL PROTECTED] mcdonalddj]$ crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
0 12 * * 1-5 grep -o -P 'INFECTED.+?\)' /var/log/mail/info | sort | uniq
-c | /bin/mail -s "`uname -n` weekly virus counts" [EMAIL PROTECTED]

I imagine it could be improved using logtail...  It gives me a heads up
at noon what's going on with viral activity.  I keep much more granular
logs using amavis-stats

-- 
Daniel J McDonald <[EMAIL PROTECTED]>
Austin Energy



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to