What is a sosreport and how do I run it?

Problems related to Redhat flavour of linux

What is a sosreport and how do I run it?

Unread postby rajeevmahura » Mon Sep 15, 2008 6:16 pm

The command sosreport is a tool that collects information about a system, such as what kernel is running, what drivers are loaded, and various configuration files for common services. It also does some simple diagnostics against known problematic patterns.

To run a sosreport, the sos package must be installed. If the system is registered with Red Hat Network (RHN) it can be installed using up2date command for Red Hat Enterprise Linux 4:
# up2date sos

For Red Hat Enterprise Linux 5, use the yum command:
# yum install sos

If the system is not registered with RHN, install the sosreport package from the CDs using RPM:
# rpm -Uvh sos-<version>.<arch>.rpm

Once the package has been installed, issue the following command from a command prompt:
# sosreport

Once completed, sosreport will generate a compressed tar file in /tmp.

Rajeev Mahura
Servers & Storage Professional
User avatar
Posts: 144
Joined: Tue May 20, 2008 5:22 pm
Location: Bangalore | New Delhi
Full Name: Rajeev Mahura
Date Of Birth: 15 Jan 1984
Address: New Delhi
Profession: DOEACC Trainer
Mobile No: 0

Return to Redhat Linux

Who is online

Users browsing this forum: No registered users and 1 guest