Viewing Version Information

Function

View the version information of the Ascend-DMI tool.

Commands for Querying Test Parameters

You can run either of the following commands to view the available query command parameters for the Ascend-DMI tool:

ascend-dmi -v -h

ascend-dmi -v --help

Table 1 describes the parameters.

Table 1 Parameter description

Parameter

Description

Mandatory

[-v, --version]

Views the version information of the Ascend-DMI tool.

Yes

[-fmt, --fmt, --format]

Specifies the output format. The value can be normal or json. If this parameter is not specified, the default value normal is used.

No

Example

ascend-dmi -v