10. Kernel Issues Troubleshooting-EX342

Gather information to aid third party investigation of issues

  • Create kernel crashdumps

  • Compile and execute SystemTap modules

Generally speaking to compile a stap module

there are different examples on the web you can download to test.

 stap -v stapexample.stp

  • Generate sos reports

According to the Linux man page sosreport  is used to  collect and package diagnostic and support data. It will allow the user to generate an archive of configuration and diagnostic information from the running system.

To List all options and available plugins :

To Generate Reports:

run with out module use the option  ( n ) meaning excluding the module we will use yum as an example here.

run with a module use the option (  e ) for example xfs