How To Generate SOSReport For Analysing Issues On Linux

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 the OS level.

Check Out: Features of Redhat 8 Beta Version Recently Released

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, then run the below command


After running this command it will ask you the enter the name and then press enter for next prompt too.

Check Out: How To Send Root Mail To existing User On Redhat 7

It will take some time to generate the report.

Now a 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  

sosreport –l

If you want to turn off a module keep it separate by a 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 the system has lots of packages installed on the Server it’s gonna take a lot of time to generate the report. So we decided to disable the rpm package verification with –K option.

sosreport –K rpm.rpmva=off

That’s it.

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

2 thoughts on “How To Generate SOSReport For Analysing Issues On Linux”

  1. wonderful publish, very informative. I wonder why the other experts of this sector don’t
    understand this. You should proceed your writing. I’m confident, you have a great readers’
    base already!

    • Yeah we’re updating our knowledge here on regular basis.

      keep visiting and sharing our blog.



Leave a comment