]> granicus.if.org Git - sysstat/blobdiff - sysstat.sysconfig.in
sar/sadc: Dereference nr array pointer in struct activity
[sysstat] / sysstat.sysconfig.in
index 29f3542d115b742d210b5449f46169c91183a62d..aec76569fd9f3d04fe7bba87d329fb8cbb5e1534 100644 (file)
@@ -1,8 +1,8 @@
 # @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
-# multiple directories, one for each month.
+# If value is greater than 28, then use sadc's option -D to prevent older
+# data files from being overwritten. See sadc(8) and sysstat(5) manual pages.
 HISTORY=@HISTORY@
 
 # Compress (using xz, gzip or bzip2) sa and sar files older than (in days):
@@ -12,7 +12,7 @@ COMPRESSAFTER=@COMPRESSAFTER@
 # which are used for the generation of log files.
 SADC_OPTIONS="@COLLECT_ALL@ @SADC_OPT@"
 
-# Directory where sa and sar files are saved.
+# Directory where sa and sar files are saved. The directory must exist.
 SA_DIR=@SA_DIR@
 
 # Compression program to use.
@@ -22,3 +22,20 @@ ZIP="@ZIP@"
 # usually runs right after midnight. If you want sa2 to generate the summary
 # of the same day (for example when cron job runs at 23:53) set this variable.
 #YESTERDAY=no
+
+# By default sa2 script generates reports files (the so called sarDD files).
+# Set this variable to false to disable reports generation.
+#REPORTS=false
+
+# Tell sa2 to wait for a random delay in the range 0 .. ${DELAY_RANGE} before
+# executing. This delay is expressed in seconds, and is aimed at preventing
+# a massive I/O burst at the same time on VM sharing the same storage area.
+# Set this variable to 0 to make sa2 generate reports files immediately.
+DELAY_RANGE=@DELAY_RANGE@
+
+# The sa1 and sa2 scripts generate system activity data and report files in
+# the @SA_DIR@ directory. By default the files are created with umask 0022
+# and are therefore readable for all users. Change this variable to restrict
+# the permissions on the files (e.g. use 0027 to adhere to more strict
+# security standards).
+UMASK=0022