Oct 28th, 2009
sysreport and sosreport in Red Hat Enterprise Linux
sysreport and sosreport in Red Hat Enterprise Linux
Before Red Hat Enterprise Linux 4.5, we had “sysreport”. The “sosreport” command is a tool that collects information about a Red Hat Enterprise Linux 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 “sosreport”, the “sos” package must be installed. The package should be installed by default, bu if the package is not installed, follow the steps below:
Red Hat Enterprise Linux 4
If the system is registered with Red Hat Network (RHN), “sos” can be installed using the up2date command:
Red Hat Enterprise Linux 5 and later
If the system is registered with RHN, use the yum command:
“sosreport” will generate a compressed a bz2 file under /tmp.