make the sadf -s/-e documentation more accurate

Resolves: RHEL-123483
This commit is contained in:
Lukáš Zaoral 2025-12-08 13:37:02 +01:00
parent 537ecff9da
commit 010a28e990
No known key found for this signature in database
GPG Key ID: 39157506DD67752D
2 changed files with 73 additions and 1 deletions

View File

@ -0,0 +1,65 @@
From 94477599ab42d54de172ea60d82fc483d16b025e Mon Sep 17 00:00:00 2001
From: Sebastien GODARD <sysstat@users.noreply.github.com>
Date: Mon, 10 Nov 2025 17:08:41 +0100
Subject: [PATCH] Update sadf manual page (#416)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Cherry-picked-by: Lukáš Zaoral <lzaoral@redhat.com>
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 f953559..873a60a 100644
--- a/man/sadf.in
+++ b/man/sadf.in
@@ -242,11 +242,8 @@ Output can be controlled using option
.BR "-O " "(see above)."
.TP
.BI "-s [ " "hh" ":" "mm" "[:" "ss" "] ]"
-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.
+Set the starting time of the report. The default starting
+time is 08:00:00. Hours must be given in 24-hour format.
.TP
.B -T
Display timestamp in local time instead of UTC (Coordinated Universal Time).
--
2.52.0
From 6754280be3034f3b732fc73b989b1b77e16c7328 Mon Sep 17 00:00:00 2001
From: Sebastien GODARD <sysstat@users.noreply.github.com>
Date: Mon, 10 Nov 2025 17:12:19 +0100
Subject: [PATCH] Update FAQ
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
Cherry-picked-by: Lukáš Zaoral <lzaoral@redhat.com>
Upstream-commit: d5687be42acdac2ccc7388733ae7a9e75372bb38
---
FAQ.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/FAQ.md b/FAQ.md
index cda3e41..a07dba2 100644
--- a/FAQ.md
+++ b/FAQ.md
@@ -280,7 +280,9 @@ options -s and -e didn't work properly.
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.
+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.<a name="2_9"></a> I cannot see all my disks when I use the sar -d command...
--
2.52.0

View File

@ -1,7 +1,7 @@
Summary: Collection of performance monitoring tools for Linux
Name: sysstat
Version: 12.5.4
Release: 10%{?dist}
Release: 11%{?dist}
License: GPLv2+
URL: http://sebastien.godard.pagesperso-orange.fr/
Source: https://github.com/sysstat/sysstat/archive/v%{version}.tar.gz
@ -27,6 +27,10 @@ Patch5: sysstat-12.5.4-bz2216805.patch
# don't cap SVG graph output at 100% (RHEL-39002)
# https://github.com/sysstat/sysstat/commit/808f2ef2fe7a92f8bb510ef872801e67cc600c36
Patch6: sysstat-12.5.4-RHEL-39002.patch
# make the sadf -s/-e documentation more accurate (RHEL-123483)
# https://github.com/sysstat/sysstat/commit/52b0a92767a8dfe40ab3b6ca5b912c45f9448fb0
# https://github.com/sysstat/sysstat/commit/d5687be42acdac2ccc7388733ae7a9e75372bb38
Patch7: sysstat-12.5.4-RHEL-123483.patch
BuildRequires: make
BuildRequires: gcc, gettext, lm_sensors-devel, pcp-libs-devel, systemd, git
@ -109,6 +113,9 @@ fi
%{_tmpfilesdir}/%{name}.conf
%changelog
* Mon Dec 08 2025 Lukáš Zaoral <lzaoral@redhat.com> - 12.5.4-11
- make the sadf -s/-e documentation more accurate (RHEL-123483)
* Mon Dec 01 2025 Lukáš Zaoral <lzaoral@redhat.com> - 12.5.4-10
- fix creation of /var/log/sa in image mode (RHEL-129980)