sos report - Generate debugging information

The sos report script gathers system troubleshooting information. It captures the current system environment and generates a tar file. Use it for Red Hat® Enterprise Linux® or Ubuntu Server systems.

Note: The sosreport script is deprecated and replaced by the sos report script.

The script file collects complementary information to the dbginfo.sh script. The sos report script is part of the sos package.

Authorization

Running the script requires root authority.

Syntax

See the sos report man page for details.

1  sos report

Example

To run sos report, issue the command:
[root@system]# sos report

Output

The script produces a .tar file. The location of the .tar file is given in the script output:
[root@system]#  sos report

sos report (version 4.10.0)

This command collects diagnostic and configuration information from
this Red Hat Enterprise Linux system and installed applications.

[..]

Any information provided to Red Hat will be treated in accordance with
the published support policies at:

        Distribution Website : https://www.redhat.com/
        Commercial Support   : https://access.redhat.com/

The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before being
passed to any third party.

No changes will be made to system configuration.

Press ENTER to continue, or CTRL-C to quit.

Optionally, please enter the case id that you are generating this report for: test1234
  Setting up archive ...

[..]


  Starting 79/79 zvm             [Running: dnf rhc subscription_manager zvm]
  Finishing plugins              [Running: dnf rhc subscription_manager]
  Finishing plugins              [Running: dnf subscription_manager]
  Finishing plugins              [Running: subscription_manager]                          
  Finished running plugins                                                               
Creating compressed archive...

Your sos report has been generated and saved in:
	/var/tmp/sosreport-b83lp40-test1234-2025-11-11-fgmhpkm.tar.xz

 Size	9.56MiB
 Owner	root
 sha256	b5eeff1bed06ba09b546616e173dc5b416659b88b5acc3e1c7a656383ca21b7d

Please send this file to your support representative.