sosreport utility

Collect debugging information about a system and stores the information in /tmp as compressed file.
sosreport uses plug-ins with option -l (list available plugin), -n PLUGNAME (do not load specified plugin), -e PLUGNAME (enable the specified plug-in)

To install it:
yum install sos

Loaded plugins: rhnplugin, security
rhel-x86_64-server-5                                                                                                                                                                    | 1.4 kB     00:00  
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package sos.noarch 0:1.7-9.62.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================================================
 Package                                   Arch                                         Version                                               Repository                                                  Size
===============================================================================================================================================================================================================
Updating:
 sos                                       noarch                                       1.7-9.62.el5                                          rhel-x86_64-server-5                                       162 k

Transaction Summary
===============================================================================================================================================================================================================
Install       0 Package(s)
Upgrade       1 Package(s)

Total download size: 162 k
Is this ok [y/N]: y
Downloading Packages:
sos-1.7-9.62.el5.noarch.rpm                                                                                                                                                             | 162 kB     00:00  
Transaction Test Succeeded
Running Transaction
  Updating       : sos                                                                                                                                                                                     1/2
  Cleanup        : sos                                                                                                                                                                                     2/2

Updated:
  sos.noarch 0:1.7-9.62.el5                                                                                                                                                                                  

Complete!

To execute sosreport
sosreport

sosreport (version 1.7)

This utility will collect some detailed  information about the
hardware and  setup of your  Red Hat Enterprise Linux  system.
The information is collected and an archive is  packaged under
/tmp, which you can send to a support representative.
Red Hat will use this information for diagnostic purposes ONLY
and it will be considered confidential information.

This process may take a while to complete.
No changes will be made to your system.

Press ENTER to continue, or CTRL-C to quit.

One or more plugins have detected a problem in your configuration.
Please review the following messages:

process:
    * one or more processes are in state D (sosreport might hang)

Are you sure you would like to continue (y/n) ? y

Please enter your first initial and last name [gls02]: anguyengls02
Please enter the case number that you are generating this report for: 1

EMC PowerPath is installed.
 Gathering EMC PowerPath information...
EMC PowerPath is running.
 Gathering additional EMC PowerPath information...
 plugin emc finished ...                          
 plugin yum finished ...                        
 Completed.

Creating compressed archive...

Your sosreport has been generated and saved in:
  /tmp/sosreport-anguyengls02.1-710805-8771ca.tar.bz2

The md5sum is: ed33337f0f37d788f5bb61690b8771ca

Please send this file to your support representative.

No comments:

Post a Comment