Friday, May 17, 2013

sosreport in red hat enterprise linux 6.

I came across this feature of RHEL-6 only when one of the box would reboot after certain interval of time.
It is real easy - What you need is the Redhat case number you are working on. and simply run the command sosreport as root.

[root@RHEL-6 app]# sosreport


sosreport (version 2.2)

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 Enterprise Linux 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.

Please enter your first initial and last name [RHEL-6]: rs

Please enter the case number that you are generating this report for [None]: 6565

Running plugins. Please wait ...

Completed [51/51] ...

Creating compressed archive...

Your sosreport has been generated and saved in:

/tmp/sosreport-rs.6565-20130517101218-255f.tar.xz

The md5sum is: fc67174ab37703f92999ee50a4fa255f

Please send this file to your support representative.

You have new mail in /var/spool/mail/root

Thanks!

No comments: