This variable will make it easier to tell sa2 script to insert header
lines in the reports.
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
cd ${ENDIR}
if [ x${REPORTS} != xfalse ]
then
- ${ENDIR}/sar $* -f ${DFILE} > ${RPT}
+ S_REPEAT_HEADER=${REPEAT_HEADER} ${ENDIR}/sar $* -f ${DFILE} > ${RPT}
fi
SAFILES_REGEX='/sar?[0-9]{2,8}(\.(Z|gz|bz2|xz|lz|lzo))?$'
# the permissions on the files (e.g. use 0027 to adhere to more strict
# security standards).
UMASK=0022
+
+# The sa2 script uses the value below to set environment variable S_REPEAT_HEADER
+# which is used by sar as the maximum number of lines after which a header has to
+# be displayed (see sar(1) manual page).
+#REPEAT_HEADER=25