SOSREPORT in Redhat Linux

The sosreport is a tool that collects the configuration and diagnostic information from Redhat Enterprise Linux Machine. The sosreport will collect information like the running kernel version, loaded modules,system configuration files and other system related information to archive file.
The package required for this tool will be shipped by default with Redhat machine. If it is not installed then it can be installed using
#yum install sos

The sosreport can be run with sosreport command and it requires root permission to run.
#sosreport
Normally sosreport will take few minutes to complete and it will generate a compressed file under /tmp. So when reaching out Redhat for support , you can also provide this file as attachment in case to get support.


The sosreport will run in modules. So you will be able to customize by enabling or disabling modules.
#sosreport -l
will list available modules in sosreport.

you can use  -n module name to turn off a particular module Or you can give multiple modules with comma separated.

#sosreport -n tomcat,vmware

So this will skip tomcat and vmware related information from sosreport.

Related Posts Plugin for WordPress, Blogger...

Incoming search terms:

Article by

Lynuxstuff.com for providing tutorials and system administration tips in Linux and networking.And more technical tips which is related to both windows and Linux are available in http://www.coretimer.com