Article Number: 000217357
# rpm -q sos sos-4.5.1-3.el8.noarchIf for some reason the 'sos package' is not installed, it can be installed using the below command:
# yum install sosTo generate a sos report in interactive mode (run as root):
# sos report
# sosreportOptionally, 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) is typically be saved in /var/tmp/. Older versions of RHEL may save to a different location, but it is specified in the command output.
# ls /var/tmp/sosreport* sosreport-rhel8vm-809520-2023-05-09-gbvkemd.tar.xz sosreport-rhel8vm-809520-2023-05-09-gbvkemd.tar.xz.sha256Once 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.
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
14 Sep 2023
2
How To