Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

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

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

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

sos 보고서는 Linux 시스템에서 다양한 시스템 로그, 구성 파일 및 명령 출력을 수집하는 로그 번들입니다. Dell 도메인 엔지니어 및 Linux 공급업체 지원의 조사를 위해 운영 체제에서 진단 정보를 수집하는 표준화된 방법입니다.
 
참고: RHEL 7 및 이전 릴리스에서는 로그 번들을 생성하는 명령이 'sosreport'였습니다. RHEL 8 이상에서는 명령이 'sos report'로 변경됩니다. 하지만 RHEL 8 이상에서 'sosreport'를 실행하는 것은 여전히 동일한 방식으로 작동합니다. 레거시 호환성을 위한 'sos report' 명령으로 자동으로 리디렉션됩니다.

'sos 패키지'는 일반적으로 RHEL에 기본적으로 설치되는 sos 보고서 명령을 제공합니다.

패키지 설치를 확인하려면 다음을 수행합니다.
# rpm -q sos
sos-4.5.1-3.el8.noarch
어떤 이유로 'sos 패키지'가 설치되지 않은 경우 아래 명령을 사용하여 설치할 수 있습니다.
# yum install sos
대화형 모드에서 sos 보고서를 생성하려면(루트로 실행)
  • RHEL 8 이상:
# sos report
  • RHEL 7 이하의 경우:
# sosreport
필요에 따라 비활성 모드에서 sos 보고서를 생성하는 –batch 옵션을 포함합니다.
# sos report –-batch
Or
# sosreport --batch
로그 번들(및 관련 체크섬 파일)은 일반적으로 /var/tmp/에 저장됩니다. 이전 버전의 RHEL은 다른 위치에 저장될 수 있지만 명령 출력에 지정됩니다.

예제:
# 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 문서 보기:

Article Properties


Affected Product

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

Last Published Date

14 Sep 2023

Version

2

Article Type

How To