Getting sysstat (sa1, sa2) to create sar reports can be a bit confusing to a newbie and an annoying necessary step for the more experienced users. I suggest that sysstat ebuild should install a default cron entry, which would update sar reports every 10 or 20 minutes and taking care of cleaning up old sar entries. For example, I have a file /etc/cron.d/sysstat and the contents of it is: --- # run system activity accounting tool every 10 minutes */10 * * * * root /usr/lib/sa/sa1 1 1 # generate a daily summary of process accounting at 23:53 53 23 * * * root /usr/lib/sa/sa2 -A --- That's the same than Red Hat uses and it works perfectly. Reproducible: Always Steps to Reproduce: 1. 2. 3.
better use something like : 0 0 * * * /usr/lib/sa/sa1 600 44 & As it will spawn less crontab logs.
Ok, the default packaged crontab.example in the sysstat distribution should now get installed into /etc/cron.daily - since it's the default recommended one I think it should be reasonable enough. If you have any suggestions regarding that or any problems then please reopen this bug. Thanks!
please add it cron file to stable app-admin/sysstat-5.0.2 ebuild or bumb version also from http://perso.wanadoo.fr/sebastien.godard/ Sunday January 2nd, 2005 Sysstat 5.1.4 released (development version). Monday August 9th , 2004 Sysstat 5.0.6 released (stable version).