9.2.4.1 ahfctl getupgrade

ahfctl getupgradeコマンドを使用して、ahf.propertiesファイルからアップグレード構成をフェッチします。

構文

ahfctl getupgrade -all
ahfctl getupgrade -all -json

パラメータ

表9-14 ahfctl getupgradeコマンドのパラメータ

パラメータ 説明

-all

ahf.propertiesファイルからアップグレード構成の詳細をフェッチします。

-json

必要に応じて、このオプションを指定して、JSON形式の出力を取得します。

例9-17 アップグレード・パラメータの出力

ahfctl getupgrade -all

autoupgrade : off
autoupgrade.swstage : /scratch/ahf_stage
autoupgrade.frequency : 30
autoupgrade.servicename : [not set]
autoupgrade.fstype : [not set]
autoupgrade.tmp_loc : [not set]
autoupgrade.remove_installer : [not set]
autoupgrade.upgradetime : [not set]
ahfctl getupgrade -all -json
{
    "autoupgrade": "off",
    "autoupgrade.swstage": "/opt/oracle.ahf",
    "autoupgrade.frequency": "30",
    "autoupgrade.servicename": "[not set]",
    "autoupgrade.fstype": "[not set]",
    "autoupgrade.tmp_loc": "[not set]",
    "autoupgrade.remove_installer": "[not set]",
    "autoupgrade.upgradetime": "[not set]"
}