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

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

Dieser Artikel gilt für Dieser Artikel gilt nicht für Dieser Artikel ist nicht an ein bestimmtes Produkt gebunden. In diesem Artikel werden nicht alle Produktversionen aufgeführt.

Weisungen

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:

Weitere Informationen

Betroffene Produkte

Red Hat Enterprise Linux Version 7, Red Hat Enterprise Linux Version 9, Red Hat Enterprise Linux Version 8
Artikeleigenschaften
Artikelnummer: 000217357
Artikeltyp: How To
Zuletzt geändert: 30 Jan. 2026
Version:  5
Antworten auf Ihre Fragen erhalten Sie von anderen Dell NutzerInnen
Support Services
Prüfen Sie, ob Ihr Gerät durch Support Services abgedeckt ist.