RHEL: Red Hat Enterprise Linux에서 SOS 보고서 로그 번들을 생성하는 방법

Summary: 이 문서에서는 Red Hat Enterprise Linux에 대한 sos 보고서를 생성하는 방법에 대해 설명합니다.

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

sos 보고서는 Linux 시스템에서 다양한 시스템 로그, 구성 파일 및 명령 출력을 수집하는 로그 번들입니다. Dell 도메인 엔지니어 및 Linux 공급업체 지원 부서에서 조사할 수 있도록 운영 체제에서 진단 정보를 수집하는 표준화된 방법입니다.
 

참고: Red Hat Enterprise Linux 7 및 이전 릴리즈에서 로그 번들을 생성하는 명령은 'sosreport'에 관한 자세한 내용을 참조하십시오. Red Hat Enterprise Linux 8 이상에서는 명령이 'sos report'에 관한 자세한 내용을 참조하십시오. 그러나 'sosreport' Red Hat Enterprise Linux 8 이상에서는 여전히 동일한 방식으로 작동합니다. 자동으로 'sos report' 레거시 호환성을 위한 명령입니다.


'sos' 패키지는 sos report command는 일반적으로 Red Hat Enterprise Linux에 기본적으로 설치됩니다.

패키지 설치를 확인하려면 다음을 수행합니다.

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

어떤 이유로 'sos'패키지가 설치되지 않은 경우 아래 명령을 사용하여 설치할 수 있습니다.

# yum install sos

대화형 모드에서 sos 보고서를 생성하려면(root 권한으로 실행) 다음을 수행합니다.

  • Red Hat Enterprise Linux 8 이상:
# sos report
  • Red Hat Enterprise Linux 7 및 이전 버전의 경우:
# sosreport

필요에 따라 --batch 비대화형 모드에서 SOS 보고서를 생성하는 옵션:

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

로그 번들(및 관련 체크섬 파일)은 일반적으로 /var/tmp/에 관한 자세한 내용을 참조하십시오. 이전 버전의 Red Hat Enterprise Linux는 다른 위치에 저장될 수 있지만 명령 출력에 지정됩니다.

본보기:

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

로그 번들이 생성되면 로컬 시스템에 로그 번들의 복제본이 필요할 수 있습니다. 일반적으로 사용자는 WinSCP와 같은 SCP 유틸리티를 사용하여 파일을 복사하고 다운로드합니다. 이렇게 하려면 서버에 대한 SSH 액세스만 필요합니다.

Red Hat 문서를 참조하십시오.

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.