Quote:
Originally Posted by berndbausch
The configuration is done in /etc/sysconfig/sysstat (except if your distro does it differently). See also the sysstat manual page.
EDIT: Not sure if you can change the frequency of storing the data.
|
------
Thanks for your answer.
I already modified sysstat file. but It still doesn't seem to work.
After I modified the file, Do I have to restart some service file?!
```code
# cat /etc/sysconfig/sysstat
# sysstat-10.1.5 configuration file.
# How long to keep log files (in days).
# If value is greater than 28, then log files are kept in
# multiple directories, one for each month.
HISTORY=7
# Compress (using gzip or bzip2) sa and sar files older than (in days):
COMPRESSAFTER=31
# Parameters for the system activity data collector (see sadc manual page)
# which are used for the generation of log files.
SADC_OPTIONS="-S DISK"
# Compression program to use.
ZIP="bzip2"
```