[packages/sysstat] rel 5; store one record every 2 minutes instead of starting once every hour and store x records. Tha

arekm arekm at pld-linux.org
Mon Dec 3 08:46:23 CET 2018


commit b89b469fccbd88429ada53105bb9e396e8d515b9
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Dec 3 08:46:16 2018 +0100

    rel 5; store one record every 2 minutes instead of starting once every hour and store x records. That way after reboot we immediately get records stored each 2 min

 crontab      | 2 +-
 sysstat.spec | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sysstat.spec b/sysstat.spec
index 767148e..287ca16 100644
--- a/sysstat.spec
+++ b/sysstat.spec
@@ -10,7 +10,7 @@ Summary(zh_CN.UTF-8):	sar, iostat 等系统监视工具
 # Sysstat 12.0.x released (stable version).
 Name:		sysstat
 Version:	12.0.2
-Release:	4
+Release:	5
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://pagesperso-orange.fr/sebastien.godard/%{name}-%{version}.tar.xz
diff --git a/crontab b/crontab
index 25fc268..380a579 100644
--- a/crontab
+++ b/crontab
@@ -4,7 +4,7 @@
 #0 8-18 * * 1-5 root /bin/systemd_booted || /usr/lib/sa/sa1 1200 3
 
 # activity reports every 2 minutes everyday.
-0 * * * * root /bin/systemd_booted || /usr/lib/sa/sa1 120 30
+*/2 * * * * root /bin/systemd_booted || /usr/lib/sa/sa1 1 1
 
 # Activity reports every an hour on Saturday and Sunday.
 #0 * * * 0,6 root /bin/systemd_booted || /usr/lib/sa/sa1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sysstat.git/commitdiff/b89b469fccbd88429ada53105bb9e396e8d515b9



More information about the pld-cvs-commit mailing list