Bug 624130

Summary: mpstat -I ALL displays incorrect values
Product: Red Hat Enterprise Linux 6 Reporter: Casey Dahlin <cdahlin>
Component: sysstatAssignee: Ivana Varekova <varekova>
Status: CLOSED ERRATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.0CC: bnater, jwest, ltroan, martin.wilck, ovasik, plyons, rvokal, vanhoof
Target Milestone: rcKeywords: RHELNAK, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Due to recent changes in the /proc/interrupts format, running the "mpstat -I ALL" command did not produce the correct output. With this update, the mpstat utility has been updated to recognize the new format, and running the above command now works as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:58:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 650125    
Attachments:
Description Flags
patch none

Description Casey Dahlin 2010-08-13 18:49:32 UTC
The customer deliberately generated some interrupt activity and then ran mpstat -I ALL . There were only a small number of interrupts listed for CPU0 and none for any other CPU. /proc/interrupts showed expected values.

Last verified in Snapshot 9.

Comment 1 RHEL Program Management 2010-08-13 18:58:25 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 2 Ivana Varekova 2010-08-16 10:17:09 UTC
Created attachment 438917 [details]
patch

mpstat in RHEL6 have a problem with /proc/interrupts file format change. This patch should fix it.

Comment 3 Martin Wilck 2010-08-19 09:57:06 UTC
Any chance to include this in 6.0, or at least in an early errata?

Comment 10 Branislav NĂ¡ter 2011-03-11 15:17:10 UTC
Bugfix seems to work on all supported architectures (i386, x86_64, s390x, ppc64). It was verified on package sysstat-9.0.4-16.el6.
"mpstat -I ALL" command now displays all interrupts from /proc/interrupts

Comment 11 Ryan Lerch 2011-04-27 23:18:42 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Due to recent changes in the /proc/interrupts format, running the "mpstat -I ALL" command did not produce the correct output. With this update, the mpstat utility has been updated to recognize the new format, and running the above command now works as expected.

Comment 13 errata-xmlrpc 2011-05-19 13:58:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0668.html