The SoS report command is a tool that collects various details from a Redhat Linux server. These details include configuration details, system information and diagnostic information such as the running kernel version, loaded modules, and system and service configuration files. These are useful information that can help a Redhat support staff to troubleshoot various issues faced by a RHEL system.
[root@centos9vm ~]# dnf install sos -y
[root@centos9vm ~]# sos report
The above command will take some time to generate the report. The report can be found by searching for it in /var/tmp folder
[root@centos9vm ~]# ls -l /var/tmp/ | grep sosreport
The above generated report may have sensitive information such as IP, etc. These can be removed/masked before sending the report to an external person by running the following command:
[root@centos9vm ~]# sos clean /var/tmp/sosreport-centos9vm-2024-02-11-gmrdutg.tar.xz