System Diagnosis Functions
The System Diagnosis tool analyzes system running metrics on the Kunpeng platform to identify abnormalities.
Prerequisites
- You have installed the tool. See Installing the Tool.
- If you have installed the tool using a compressed package, decompress the package and switch to the tool directory. Then run the command in ./ mode, for example, ./devkit version. If you have installed the tool using an RPM package, run devkit version. This section uses an RPM package as an example.
Command Function
Displays the help information about System Diagnosis tasks.
Syntax
1 | devkit doctor [-h | --help] TASK [ARGS] |
Example
Run the following command to view the information about the functions supported by System Diagnosis:
1 | devkit doctor -h |
Command output:
1 2 3 4 5 6 7 8 | Usage: devkit doctor [-h | --help] TASK [ARGS] The most commonly used devkit diagnosis sub tasks are: help Get help information memalloc Run the memory allocate collection and analysis task See 'devkit doctor TASK --help' for more information on a specific task. |
Function |
Description |
|---|---|
help |
Displays help information. |
memalloc |
Memory usage diagnosis. |
Parent topic: System Diagnosis