IBM Support

How to generate the sosreport ?

Question & Answer


Question

How to generate the sosreport ?

Answer

The sosreport command is a tool that collects configuration and diagnostic information from a Red Hat Enterprise Linux system.

To run sosreport the sos package must be installed. The package is part of the default group and will be installed automatically on most systems.

1. Check sos package is installed
# rpm -qa |grep sos

2. Install the sos package if needed
# rpm -Uvh sos-<version>.noarch.rpm

3. Run following command with root permssion to create the sos report. Once completed, sosreport will generate a compressed a file under /tmp .

# sosreport

sosreport (version 2.2)


This command will collect diagnostic and configuration
information from this Red Hat Enterprise Linux system and
installed applications.

An archive containing the collected information will be
generated in /tmp and may be provided to a Red Hat support
representative.

Any information provided to Red Hat will be treated in
accordance with the published support policies at:


https://access.redhat.com/support/

The generated archive may contain data considered
sensitive and its content should be reviewed by the
originating organization before being passed to any third
party.

No changes will be made to system configuration.

Press ENTER to continue, or CTRL-C to quit. <== press enter

Please enter your first initial and last name [NZ12345-H1]: <== press enter
Please enter the case number that you are generating this report for [None]: <== press enter

Running plugins. Please wait ...

Completed [59/59] ...
Creating compressed archive...

Your sosreport has been generated and saved in:
/tmp/sosreport-NZ35172-H1-20150729200110-7760.tar.xz

The md5sum is: e6d59c2aecb8cb53ff61190dd8737760

Please send this file to your support representative.


4. The last step is to collect the *tar.xz generated and attache to PMR/RTC for further analysis.

[{"Product":{"code":"SSULQD","label":"IBM PureData System"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 October 2019

UID

swg21963410