9.3.1.18 tfactl print inventory

tfactl print inventoryコマンドを使用して、ファイル・メタデータを削除します。

構文

tfactl print inventory 
[-file file_path] 
[-node all | local | n1,n2,..]

パラメータ

表9-58 tfactl print inventoryコマンドのパラメータ

パラメータ 説明

-file

詳細が必要なファイルのパスを指定します。

-node

alllocalまたはノードのカンマ区切りリストを指定します。

例9-64 tfactl print inventory

tfactl print inventory -file
/u01/app/giusr/diag/apx/+apx/+APX1/trace/alert_+APX1.log,/u01/app/giusr/diag/crs/stbm000004-vm13/crs/trace/alert.log
| python -m json.tool
[
    {
        "Result": [
            {
                "absolute_path":
"/u01/app/giusr/diag/apx/+apx/+APX1/trace/alert_+APX1.log",
                "component": "ASMPROXY",
                "date_pattern":
"\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{6}[\\+|-]\\d{2}:\\d{2}",
                "file_name": "alert_+APX1.log",
                "last_modified": "05/26/2021 20:16:37"
            },
            {
                "absolute_path":
"/u01/app/giusr/diag/crs/stbm000004-vm13/crs/trace/alert.log",
                "component": "CRS",
                "date_pattern":
"\\d{4}-\\d{2}-\\d{2}\\s\\d{2}:\\d{2}:\\d{2}\\.\\d{3}",
                "file_name": "alert.log",
                "last_modified": "07/14/2021 14:18:59"
            }
        ],
        "hostname": "stbm000004-vm13"
    }
]