Bug 1317032

Summary: Add cpuid output to sosreport
Product: Red Hat Enterprise Linux 7 Reporter: Jiri Hladky <jhladky>
Component: sosAssignee: Pavel Moravec <pmoravec>
Status: CLOSED ERRATA QA Contact: Miroslav HradĂ­lek <mhradile>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.3CC: agk, bmr, cww, dzickus, emcnabb, gavin, jhladky, mhradile, mpetlan, plambri, prarit, salmy, sbradley, vanhoof
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sos-3.3-0.el7 Doc Type: Enhancement
Doc Text:
The processor plug-in has been updated in the sos package to newly collect cpuid commands. The commands provide information about individual CPUs, and thus allows users to get more details about processors on the system.
Story Points: ---
Clone Of:
: 1317035 (view as bug list) Environment:
Last Closed: 2016-11-04 04:58:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Patch file for processor.py none

Description Jiri Hladky 2016-03-11 18:22:18 UTC
Created attachment 1135335 [details]
Patch file for processor.py

Could you please add

cpuid
and
cpuid -r

to sosreport?

cpuid is simple tool which will execute CPUID instruction and dumps it in human readable format. It provides lots of detailed information about CPU and caches which none other tool in RHEL has. cpuid -r provides raw hex output which can be then processed with (possibly newer or fixed version) cpuid or some other tool. 

cpuid will be added to RHEL7.3 Please see BZ1307043

The change on sos side requires only to update one file:

sos/plugins/processor.py

I will upload a patch file. Please refer also to upstream:
https://github.com/sosreport/sos/pull/775/files


Testing:
yum -y --enablerepo=epel install cpuid
sosreport

Resulting sos report should include non empty reports:
sos_commands/processor/cpuid_-r
sos_commands/processor/cpuid

Comment 6 errata-xmlrpc 2016-11-04 04:58:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2380.html