kspect
Command Function
Collects and displays all information or the information specific to a single module, and identifies and recommends the memory insertion configuration. After collecting all information, the tool provides symptom description and diagnosis suggestions for possible problems in a report. If multiple reports are available, the tool can compare and analyze them. You can run ./kspect and a subcommand (except cpu) to view all information about the subcommand module.
Syntax
1 | ./kspect [-h] [-L {0,1,2,3,4}] [-l {0,1}] [--remote] [-s] [-c COMMAND] {system,os,bios,software,cpu,numa,memory,network,storage,pcie,ascend,bmc,config,cluster,server_config,all,report} ... |
Parameter Description
Parameter |
Option |
Description |
|---|---|---|
-h/--help |
- |
Obtains help information. |
-L |
0/1/2/3/4 |
Log level, which defaults to 1.
|
-l/--language |
0/1 |
Report language, which defaults to 1. If the environment does not support Chinese, the 0 option (English) is used.
|
--remote |
- |
Indicates whether to collect remote node information. The tool will be transferred to the /tmp directory on the remote node. After the collection is complete, the tool is deleted. To enable this option, obtain the SSH login information of the remote node, including the IP address and port (IP_address:port, port defaulting to 22), user name, and password.
|
-s/--skip-bmc |
- |
Skips the step of configuring BMC information. By default, ipmitool is used to collect information. |
-c/--bmc-command |
- |
Runs the user-defined BMC information collection command. |
Example
1 | ./kspect -l 0 -s --remote all |