From: root Date: Mon, 27 Jun 2016 01:09:47 +0000 (+0200) Subject: saving uncommitted changes in /etc prior to emerge run X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=2982053926856fa00a7d80e1ef7abe2ee382a395;p=config%2Fhelga%2Fetc.git saving uncommitted changes in /etc prior to emerge run --- diff --git a/cron.d/sysstat b/cron.d/sysstat index 1edaa67..23aeba0 100644 --- a/cron.d/sysstat +++ b/cron.d/sysstat @@ -1,6 +1,6 @@ # Run system activity accounting tool every 10 minutes */10 * * * * root /usr/lib64/sa/sa1 1 1 # 0 * * * * root /usr/lib64/sa/sa1 600 6 & -# Generate a daily summary of process accounting at 23:53 -53 23 * * * root /usr/lib64/sa/sa2 -A +# Generate a text summary of previous day process accounting at 00:07 +7 0 * * * root /usr/lib64/sa/sa2 -A diff --git a/init.d/sysstat b/init.d/sysstat index 7875fcd..df3ad3b 100755 --- a/init.d/sysstat +++ b/init.d/sysstat @@ -1,7 +1,7 @@ -#!/sbin/runscript +#!/sbin/openrc-run # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sysstat/files/sysstat.init.d,v 1.4 2012/05/14 20:01:19 jer Exp $ +# $Id$ depend() { use hostname diff --git a/sysstat b/sysstat index c18f2de..d1cb44f 100644 --- a/sysstat +++ b/sysstat @@ -1,20 +1,28 @@ -# sysstat-11.0.2 configuration file. +# sysstat-11.2.2 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): +# Compress (using xz, gzip or bzip2) sa and sar files older than (in days): COMPRESSAFTER=10 # Parameters for the system activity data collector (see sadc manual page) # which are used for the generation of log files. -SADC_OPTIONS="" +SADC_OPTIONS=" " # Directory where sa and sar files are saved. SA_DIR=/var/log/sa # Compression program to use. -ZIP="bzip2" +ZIP="xz" +# By default sa2 script generates yesterday's summary, since the cron job +# 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