9.2.4.1 ahfctl getupgrade

Use the ahfctl getupgrade command to fetch upgrade config from the ahf.properties file.

Syntax

ahfctl getupgrade -all
ahfctl getupgrade -all -json

Parameters

Table 9-14 ahfctl getupgrade Command Parameters

Parameter Description

-all

Fetches upgrade configuration details from the ahf.properties file.

-json

Optionally, specify this option to get the output in JSON format.

Example 9-19 Print upgrade parameters

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]"
}