Bug 1383131 - sar -i does not select data based on required seconds interval
Summary: sar -i does not select data based on required seconds interval
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sysstat
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Michal Sekletar
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-10 02:35 UTC by Nolan Wei
Modified: 2019-12-16 07:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-07 22:23:46 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Nolan Wei 2016-10-10 02:35:58 UTC
Description of problem:
When using the sar -i command to select data base on the interval seconds, it will not return the required output base the interval seconds.

This only occurs on some of the sa log files.
=================================
# sar -i 3600 -f /var/log/sa/sa08
Linux 2.6.32-642.el6.x86_64 (rhevm-nolan.test.com) 	10/08/2016 	_x86_64_	(4 CPU)

12:00:01 AM     CPU     %user     %nice   %system   %iowait    %steal     %idle
01:00:01 AM     all      0.37      0.00      0.26      0.02      0.06     99.29
02:00:01 AM     all      0.37      0.00      0.27      0.02      0.07     99.27
03:00:01 AM     all      0.37      0.00      0.28      0.02      0.09     99.24
04:00:01 AM     all      0.36      0.00      0.28      0.02      0.06     99.27
05:00:01 AM     all      0.35      0.00      0.26      0.02      0.05     99.31
06:00:01 AM     all      0.36      0.00      0.27      0.02      0.06     99.29
07:00:01 AM     all      0.35      0.00      0.26      0.01      0.06     99.32
08:00:01 AM     all      0.36      0.00      0.26      0.02      0.06     99.31
09:00:01 AM     all      0.35      0.00      0.26      0.02      0.06     99.32
10:00:01 AM     all      0.37      0.00      0.26      0.02      0.06     99.29
11:00:01 AM     all      0.37      0.00      0.27      0.02      0.12     99.21
12:00:01 PM     all      0.37      0.00      0.28      0.02      0.09     99.25
01:00:01 PM     all      0.34      0.00      0.26      0.02      0.22     99.17
02:00:01 PM     all      0.36      0.00      0.26      0.02      0.34     99.02
03:00:01 PM     all      0.37      0.00      0.27      0.02      0.15     99.19
04:00:02 PM     all      0.38      0.00      0.28      0.03      0.25     99.08
05:00:01 PM     all      0.38      0.00      0.28      0.03      0.27     99.05
06:00:01 PM     all      0.35      0.00      0.25      0.02      0.39     98.99
07:00:01 PM     all      0.35      0.00      0.27      0.02      0.20     99.16
08:00:01 PM     all      0.38      0.00      0.28      0.02      0.16     99.16
09:00:02 PM     all      0.37      0.00      0.27      0.02      0.19     99.15
10:00:01 PM     all      0.37      0.00      0.27      0.01      0.12     99.22
11:00:01 PM     all      0.35      0.00      0.27      0.02      0.10     99.26
Average:        all      0.36      0.00      0.27      0.02      0.14     99.21
=================================

We set the interval as 3600 seconds, but the output message returns "04:00:02" and "09:00:02" in it, others are all the format "0X:00:01".

Version-Release number of selected component (if applicable):
sysstat-9.0.4-31.el6.x86_64

How reproducible:
Randomly occurs in some sar log files.

Steps to Reproduce:
1. Using the command "# sar -i 3600 -f /var/log/sa/saXX" to test all the sa log file you have.
2.
3.

Actual results:
The output not exactly matches the interval seconds.

Expected results:
The output matches the interval seconds.

Additional info:
We have a similar bugzilla ticket #725266 at RHEL5, but it's marks as fixed and has been released corresponding errata.

Comment 4 Chris Williams 2017-06-07 22:23:46 UTC
Red Hat Enterprise Linux 6 transitioned to the Production 3 Phase on May 10, 2017.  During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not appear to meet the inclusion criteria for the Production Phase 3 and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification.  Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com


Note You need to log in before you can comment on or make changes to this bug.