Fault Diagnosis Interface
ascend-fd diag -i ${Diagnosis_input_directory} -o ${Diagnosis_result_output_directory}Starts a fault diagnosis task and diagnoses fault events based on the log cleaning results after log cleaning is complete.
Table 1 Parameters
| Parameter | Abbreviation | Required | Value Type | Description |
|---|---|---|---|---|
--input_path | -i | Yes | String | Input path for cleaned data. |
--output_path | -o | Yes | String | Output path for diagnostic results. |
--performance | -p | No | Boolean | When specified, all diagnostic modules will be executed. If not specified, only the fault diagnosis functions of the root cause node and fault event modules will be executed. |
--help | -h | No | - | Queries the meaning of level-2 commands and parameters, as well as usage instructions. |
--scene | -s | No | String | Diagnosis scenario, defaulted to host. Options:
|
Execution status of the fault diagnosis task:
The diag job starts. Please wait. Job id: [****], run log file is [****].
...
The diag job is complete.