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