From 295e9c059c488400cf909a4939fae103d47b2eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Zaoral?= Date: Mon, 8 Dec 2025 14:25:32 +0100 Subject: [PATCH] make the sadf -s/-e documentation more accurate Resolves: RHEL-127493 --- sysstat-12.7.6-RHEL-127493.patch | 63 ++++++++++++++++++++++++++++++++ sysstat.spec | 10 ++++- 2 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 sysstat-12.7.6-RHEL-127493.patch diff --git a/sysstat-12.7.6-RHEL-127493.patch b/sysstat-12.7.6-RHEL-127493.patch new file mode 100644 index 0000000..ea4a4fd --- /dev/null +++ b/sysstat-12.7.6-RHEL-127493.patch @@ -0,0 +1,63 @@ +From eedf8bea64163784ebce8b586a1dcb15ce085c9e Mon Sep 17 00:00:00 2001 +From: Sebastien GODARD +Date: Mon, 10 Nov 2025 17:08:41 +0100 +Subject: [PATCH] Update sadf manual page (#416) + +Signed-off-by: Sebastien GODARD + +Cherry-picked-by: Lukáš Zaoral +Upstream-commit: 52b0a92767a8dfe40ab3b6ca5b912c45f9448fb0 +--- + man/sadf.in | 7 ++----- + 1 file changed, 2 insertions(+), 5 deletions(-) + +diff --git a/man/sadf.in b/man/sadf.in +index f47e21d..361d102 100644 +--- a/man/sadf.in ++++ b/man/sadf.in +@@ -258,11 +258,8 @@ Output can be controlled using option + .br + .BI "\-s [ " "seconds_since_the_epoch " "]" + .RS +-Set the starting time of the data, causing the +-.B sadf +-command to extract records time-tagged at, or following, the time +-specified. The default starting time is 08:00:00. +-Hours must be given in 24-hour format, or as the number of seconds ++Set the starting time of the report. The default starting ++time is 08:00:00. Hours must be given in 24-hour format, or as the number of seconds + since the epoch (given as a 10 digit number). + .RE + .TP +-- +2.52.0 + +From dd0ce75b33d39d820bac28a6bb8de65b5a5d027c Mon Sep 17 00:00:00 2001 +From: Sebastien GODARD +Date: Mon, 10 Nov 2025 17:12:19 +0100 +Subject: [PATCH] Update FAQ + +Signed-off-by: Sebastien GODARD + +Cherry-picked-by: Lukáš Zaoral +Upstream-commit: d5687be42acdac2ccc7388733ae7a9e75372bb38 +--- + FAQ.md | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/FAQ.md b/FAQ.md +index 558ae44..2c5fa99 100644 +--- a/FAQ.md ++++ b/FAQ.md +@@ -306,6 +306,8 @@ So with sysstat version 12.1.5, the time specified with options -s and -e + is now consistent with the timestamps displayed by sadf (either in UTC by + default or in local time with option -T), even if the output doesn't match + that of sar. ++Also note that the intervals corresponding to the records displayed by sadf ++must fall entirely within the range specified with options -s and -e. + + --- + 2.9. I cannot see all my disks when I use the sar -d command... +-- +2.52.0 + diff --git a/sysstat.spec b/sysstat.spec index 7912c72..d796077 100644 --- a/sysstat.spec +++ b/sysstat.spec @@ -1,7 +1,7 @@ Summary: Collection of performance monitoring tools for Linux Name: sysstat Version: 12.7.6 -Release: 3%{?dist} +Release: 4%{?dist} License: GPL-2.0-or-later URL: http://sebastien.godard.pagesperso-orange.fr @@ -17,6 +17,11 @@ BuildRequires: pcp-libs-devel BuildRequires: pcp-libs-devel %endif +# make the sadf -s/-e documentation more accurate (RHEL-127493) +# https://github.com/sysstat/sysstat/commit/52b0a92767a8dfe40ab3b6ca5b912c45f9448fb0 +# https://github.com/sysstat/sysstat/commit/d5687be42acdac2ccc7388733ae7a9e75372bb38 +Patch: sysstat-12.7.6-RHEL-127493.patch + BuildRequires: gcc BuildRequires: gettext BuildRequires: git @@ -116,6 +121,9 @@ fi %{_tmpfilesdir}/%{name}.conf %changelog +* Mon Dec 08 2025 Lukáš Zaoral - 12.7.6-4 +- make the sadf -s/-e documentation more accurate (RHEL-127493) + * Mon Dec 01 2025 Lukáš Zaoral - 12.7.6-3 - fix creation of /var/log/sa in image mode (RHEL-128566)