Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43386 - sysstat ebuild should install a reasonable cron entry
Summary: sysstat ebuild should install a reasonable cron entry
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-01 08:46 UTC by Janne Pikkarainen
Modified: 2005-01-27 10:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janne Pikkarainen 2004-03-01 08:46:21 UTC
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.
Comment 1 Spider (RETIRED) gentoo-dev 2004-03-01 09:11:53 UTC
better use something like :
0 0 * * * /usr/lib/sa/sa1 600 44 &


As it will spawn less crontab logs.
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-11-13 11:12:29 UTC
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!
Comment 3 Sergiy Borodych 2005-01-27 10:45:32 UTC
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).