RHEL: How to Generate a SOS Report Log Bundle in Red Hat Enterprise Linux

Summary: This article explains how to generate a sos report for Red Hat Enterprise Linux.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

The sos report is a log bundle that collects various system logs, configuration files, and command output from a Linux system. It is a standardized way to collect diagnostic information from the operating system for investigation by Dell domain engineers and Linux vendor support.
 

Note: In Red Hat Enterprise Linux 7 and earlier releases, the command to generate the log bundle was 'sosreport'. In Red Hat Enterprise Linux 8 and later, the command is changed to 'sos report'. However, running 'sosreport' in Red Hat Enterprise Linux 8 and later still works the same way. It automatically redirects to the 'sos report' command for legacy compatibility.


The 'sos' package provides the sos report command, which is typically installed by default in Red Hat Enterprise Linux.

To verify the package installation:

# rpm -q sos
sos-4.5.1-3.el8.noarch

If for some reason the 'sos' package is not installed, it can be installed using the below command:

# yum install sos

To generate a sos report in interactive mode (run as root):

  • Red Hat Enterprise Linux 8 and later:
# sos report
  • For Red Hat Enterprise Linux 7 and earlier:
# sosreport

Optionally, include the --batch option to generate a sos report in noninteractive mode:

# sos report –-batch
Or
# sosreport --batch

The log bundle (and its associated checksum file) can typically be saved in /var/tmp/. Older versions of Red Hat Enterprise Linux may save to a different location, but it is specified in the command output.

Example:

# ls /var/tmp/sosreport*
sosreport-rhel8vm-809520-2023-05-09-gbvkemd.tar.xz
sosreport-rhel8vm-809520-2023-05-09-gbvkemd.tar.xz.sha256

Once generated, the user may require a copy of the log bundle on a local system. Usually, users use an SCP utility such as WinSCP to copy and download the file. This only requires SSH access to the server.

See Red Hat articles:

Additional Information

Affected Products

Red Hat Enterprise Linux Version 5, Red Hat Enterprise Linux Version 6, Red Hat Enterprise Linux Version 7, Red Hat Enterprise Linux Version 9, Red Hat Enterprise Linux Version 8, Red Hat Enterprise Virtualization 3

Products

C Series, HS Series, Modular Infrastructure, Rack Servers, Tower Servers, XE Servers, XR Servers, OEM Server Solutions, PowerEdge XE8640, PowerEdge XE9640, PowerEdge XE9680, PowerEdge XE9680L
Article Properties
Article Number: 000217357
Article Type: How To
Last Modified: 08 May 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.