14.10.2009 20:33, Rick Knight kirjoitti:
Jari,

How did you produce the great looking statistics?

Thanks,
Rick


It's a perl script called sa-stats.pl

I tried not google it for you, but could not find the original. Many
scripts with the same name though..

I put that to my server as http://www.iki.fi/jarif/sa/sa-stats.pl

I have modified the default file so that is scans /var/log/messages
which works for  me (Debian), the script not runs without arguments.

The file can be given to it as a parameter too.

I have created the cron job as /etc/cron.daily/00a-sa-stats so that it
is run daily just before logrotate, and scans the latest logs before
they are rotated.


--
http://www.iki.fi/jarif/

Q:      How many WASPs does it take to change a light bulb?
A:      One.

Attachment: pgp46kiIU3Z83.pgp
Description: PGP signature

Reply via email to