このドキュメントで説明するソフトウェアは、Extended SupportまたはSustaining Supportのいずれかにあります。 詳細は、https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdfを参照してください。
Oracleでは、このドキュメントに記載されているソフトウェアをできるだけ早くアップグレードすることをお薦めします。

機械翻訳について

8.1.1 sosreportの構成および使用

sosパッケージがまだシステムにインストールされていない場合、yumを使用してインストールします。

次のコマンドを使用して、使用可能なプラグインとプラグイン・オプションをリストします。

# sosreport -l
The following plugins are currently enabled:

acpid            acpid related information
anaconda         Anaconda / Installation information
.
.
.
The following plugins are currently disabled:

amd                Amd automounter information
cluster            cluster suite and GFS related information
.
.
.
The following plugin options are available:
apache.log             off gathers all apache logs
auditd.syslogsize      15 max size (MiB) to collect per syslog file
.
.
.

プラグインを有効化または無効化する方法と、プラグイン・オプションの値を設定する方法の詳細は、sosreport(1)マニュアル・ページを参照してください。

sosreportの実行には:

  1. レポートをカスタマイズして問題領域の情報をレポートするために必要なオプションを指定し、コマンドを入力します。

    # sosreport [options ...]

    たとえば、ApacheとTomcatに関する情報のみを記録し、すべてのApacheログを収集するには、次のようにします。

    # sosreport -o apache,tomcat -k apache.log=on
    
    sosreport (version 2.2)
    .
    .
    .
    Press ENTER to continue, or CTRL-C to quit.

    すべてのパッケージを検証するため、実行にかなりの時間がかかるrpm.rpmvaプラグインを除き、ロードされたすべてのプラグインのすべてのブール型オプションを有効にするには、次のようにします。

    # sosreport -a -k rpm.rpmva=off

  2. [Enter]を押し、プロンプトが表示されたら追加情報を入力します。

    Please enter your first initial and last name [email_address]: AName
    Please enter the case number that you are generating this report for: case#
    
      Running plugins. Please wait ...
    
      Completed [55/55] ...      
    Creating compressed archive...
    
    Your sosreport has been generated and saved in:
      /tmp/sosreport-AName.case#-datestamp-ID.tar.xz
    
    The md5sum is: checksum
    
    Please send this file to your support representative.

    sosreportは、xz圧縮形式のtarファイルとして/tmpにレポートを保存します。

詳細は、sosreport(1)マニュアル・ページを参照してください。