9.3.1.41 tfactl upload
tfactl uploadコマンドを使用して、オンデマンドで収集またはファイルをアップロードします。
uploadコマンドは、rootまたはroot以外のユーザーとして実行できます。
構文
tfactl upload
[-sr sr_number]
[-name config_name]
[-id the location or target where you want to upload your files to]
[-file file_name]
パラメータ
表9-76 tfactl uploadコマンドのパラメータ
| パラメータ | 説明 |
|---|---|
-sr sr_number |
SR番号を指定します。 |
|
|
構成の一意の名前を指定します。 |
|
|
ファイルのアップロード先の場所またはターゲットを指定します。 |
|
|
アップロードするファイルの名前を指定します。 |
例9-86 tfactl uploadを使用したMOSへのアップロードの例
tfactl upload -name mos -id 3-23104325631 -file /opt/oracle.ahf/data/repository/auto_srdc_ORA-00600_20200706T18:58:09_myserver1.zip
例9-87 tfactl diagcollectを使用したMOSへのアップロードの例
tfactl diagcollect -upload mos -srdc ORA-00600 -id 3-23104325631またはtfactl diagcollect -srdc ORA-00600 -sr 3-23104325631ノート:
構成名がmosであることを確認してください。
構成設定の詳細は、tfactl setupload -hを実行します。