This patch lowers HISTORY value limit from 28 to 25. When HISTORY value
is greater than 25 then sa1 script creates a month-by-month directory
structure in /var/log/sa to save datafiles.
This value guarantees that we will always have a full history and that
no files will be overwritten unintentionally.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
the /var/log/sa/sa<DD> file, where <DD> is the current day in the month.
To prevent sar from overwriting any existing files, just set the variable
HISTORY in /etc/sysconfig/sysstat to the number of days during which data
-must be kept. When this variable has a value greater than 28, sa1 script
+must be kept. When this variable has a value greater than 25, sa1 script
uses a month-by-month directory structure; datafiles are named YYYYMM/saDD
and the script maintains links to these datafiles to mimic the standard
sar datafile structure.
-.TH SYSSTAT 5 "AUGUST 2013" Linux "Linux User's Manual" -*- nroff -*-
+.TH SYSSTAT 5 "MAY 2014" Linux "Linux User's Manual" -*- nroff -*-
.SH NAME
sysstat \- sysstat configuration file.
.SH DESCRIPTION
.BR sa2 (8)
shell script.
Data files and reports are normally saved in the @SA_DIR@ directory,
-but if HISTORY is greater than 28, the scripts use a tree of directories under
+but if HISTORY is greater than 25, the scripts use a tree of directories under
@SA_DIR@.
.TP
# @PACKAGE_NAME@-@PACKAGE_VERSION@ configuration file.
# How long to keep log files (in days).
-# If value is greater than 28, then log files are kept in
+# If value is greater than 25, then log files are kept in
# multiple directories, one for each month.
HISTORY=@HISTORY@