How to generate sosreport for troubleshooting DLP
sosreport
?
rhel 6.x, 7.x, 8.x
The production server is unable to make changes in a timely manner. The sosreport gives a look into how the rhel system is configured without restarting services or the server
Once the sos
package has been installed, issue the following command to run sosreport:
# sosreport
NOTE The sosreport
command requires root permissions to gather data correctly. There is no current mechanism to allow non-root executions ofsosreport
NOTE Starting in RHEL 8, the sosreport
command is deprecated in favor ofsos report
. A message to this affect is output ifsosreport
is issued on a RHEL 8 system and "Redirecting to 'sos report'
" is performed.
The command will normally complete within a few minutes on Red Hat Enterprise Linux 6. Older versions may take longer to complete. Depending on local configuration and the options specified in some cases the command may take longer to finish. If you are concerned about the run time of the sosreport
command contact your Red Hat support representative for assistance.
Once completed, sosreport
will generate a compressed file under /tmp
(for RHEL6 and earlier) or under /var/tmp
(for RHEL7 and later). The file should be provided to your support representative (normally as an attachment to an open support case).