SAR

Andrei Pascal andrei at romsym.ro
Thu Apr 19 12:22:08 UTC 2007


On Thu, 2007-04-19 at 05:15 -0700, Sean McGlynn wrote:
> Hello,

Hello,

> Every ten minutes cron runs a script that runs sadc, which writes statistics to the applicable file in /var/log/sa/.  Theses files are only saved for nine days.  Is there some way to modify the process so the files are stored indefinitely?  I know I could write a script to copy the files to an archive directory, but I'm thinking that something is causing the files to be deleted, and it would be cleaner to change that aspect of it.

/etc/sysconfig/sysstat:

# How long to keep log files (days), maximum is a month
HISTORY=7

> Thank you.

You're welcome.

Andrei




More information about the redhat-list mailing list