Sosreport is a very useful command in Linux which is used to collect the information including system configuration and diagnostic information like running kernel version , loaded modules etc. By default, It is installed.

Sosreport  plays a vital role in troubleshooting your Linux machine for your system administrator.

In order to run the command this should be installed on your system and if not then need to install it.

Check whether is installed or not by   rpm –qa | grep sos

If it’s show any output mean this is installed now it’s time to run sosreport command on system.


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   sosreport –l

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

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

You’re done



  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!


Please enter your comment!
Please enter your name here

15 − five =