Bug 1317032 - Add cpuid output to sosreport
Summary: Add cpuid output to sosreport
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sos
Version: 7.3
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Pavel Moravec
QA Contact: Miroslav Hradílek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-11 18:22 UTC by Jiri Hladky
Modified: 2016-11-04 04:58 UTC (History)
14 users (show)

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.
Clone Of:
: 1317035 (view as bug list)
Environment:
Last Closed: 2016-11-04 04:58:04 UTC
Target Upstream Version:


Attachments (Terms of Use)
Patch file for processor.py (720 bytes, text/plain)
2016-03-11 18:22 UTC, Jiri Hladky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2380 0 normal SHIPPED_LIVE sos bug fix and enhancement update 2016-11-03 13:52:35 UTC

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


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