How To Generate SOSReport For Analysing Issues
How To Generate SOSReport is a very useful command in Linux which used to collect the information including system configuration and diagnostic information like running kernel version, loaded modules etc.
SOSReport plays a vital role in troubleshooting your Linux machine to find out the issues on OS level.
In order to run the command, this SOS should be installed on your system and if not then need to install it.
Check whether installed or not by
rpm –qa | grep sos
if you find the packages installed, the run the below command
After running this command it will ask you the enter the name and then press enter for next prompt too.
It will take some time to generate the report.
Now report has been generated under the directory /var/tmp/. There are other option available in sosreport let’s have a look
To list available module (Plugins in), use this
If you want to turn off a module keep it separate by comma, suppose I have to turn off module sar and usb. Now disable the module available with –n options.
Check Out : RPM useful Commands List
sosreport –n sar,usb
If system have lots packages installed on the Server it’s gonna take lot of time to generate the report. So we decided to disable the rpm package verification with –K option.
sosreport –K rpm.rpmva=off