Common Parameters
Level-1 Parameter |
Level-2 Parameter |
Mandatory |
Description |
Supported Function |
|---|---|---|---|---|
[-dg, --dg, --diagnosis] |
[-dg, --dg, --diagnosis] |
Yes |
Performs a fault diagnosis of the entire NPU. If multiple level-2 parameters such as -i and -r need to be appended to ascend-dmi --dg, the sequence of these parameters is flexible. The sequence does not affect the command output. |
Fault diagnosis:
|
[-se, --scene, --se] |
No |
Specifies a diagnosis scenario. Currently, the following scenarios are supported:
|
- |
|
[-i, --items] |
No |
Specifies the diagnosis check item.
|
Fault diagnosis:
|
|
[-r, --result] |
No |
Specifies the path for saving fault diagnosis results and information collection results, for example, /test. The specified path must meet security requirements and cannot contain the wildcard (*).
|
Fault diagnosis:
|
|
[-s, --stress] |
No |
Performs a stress test. This parameter is mandatory when the functions listed in the right column are enabled. |
Fault diagnosis:
|
|
[-p, --path] |
- |
No |
Specifies the installation path.
|
Information query:
Fault diagnosis:
|
[-d, --device] |
- |
No |
Specifies the ID of the device to be diagnosed. The device ID is the logic ID of the Ascend NPU.
|
Performance test:
Fault diagnosis:
NPU environment restoration |
[-fmt, --fmt, --format] |
- |
No |
Specifies the output format. The value can be normal or json.
|
All |
[-q, --quiet] |
- |
No |
|
Performance test:
Fault diagnosis:
NPU environment restoration |
[-h, --help] |
- |
No |
Displays the help information of a specified function of Ascend DMI. |
All |