all
Command Function
Collects complete server information and provides diagnosis and tuning suggestions.
- Data collection supports BMC mode (login required), iBMA mode, and BMC-skipping mode. When ipmitool is used for data collection, the report will not include information from modules that strongly depend on the BMC.
- iBMA mode is available only for the root user. This mode cannot be used to obtain SEL logs or UnifiedBus BMC information.
- The iBMA version must be 2.11.0 or later. For details about how to download and install iBMA, see iBMA 2.0 User Guide.
Syntax
1
|
./kspect all [-h] |
Parameter Description
|
Parameter |
Description |
|---|---|
|
None |
Displays complete system information, including all hardware and software information.
NOTE:
The collection report is saved in the Tool_installation_path/output/kspect-YYYYMMDD-HHMMSS directory and the file name is kspect-YYYYMMDD-HHMMSS.json. |
|
-h/--help |
Obtains help information. |
Example
1
|
./kspect -l 0 -s all |
- The tool provides the complete server information in multiple file formats (HTML, JSON, and CSV) and dmesg logs.
- In the report, the information in red is ERROR, the information in orange is WARNING, and the information in blue is INFO.
- A report displays only key information about each module. For detailed information, see the JSON or CSV file.
Diagnosis and Tuning Information
Diagnosis information and tuning suggestions can be generated only when complete data is collected. Table 2 lists the modules that support diagnosis.
|
Module |
Type |
Diagnosis/Tuning |
|---|---|---|
|
System |
|
Diagnosis suggestions |
|
OS |
|
Tuning suggestions |
|
BIOS |
|
Diagnosis and tuning suggestions |
|
software |
|
Tuning suggestions |
|
CPU |
|
Diagnosis and tuning suggestions |
|
NUMA |
|
Tuning suggestions |
|
Memory |
|
Diagnosis and tuning suggestions |
|
Network |
|
Diagnosis and tuning suggestions |
|
Storage |
|
Diagnosis and tuning suggestions |
|
PCIe |
PCIe Table |
Diagnosis suggestions |
|
BMC |
|
Diagnosis suggestions |
|
UB |
|
Diagnosis suggestions for DP Pod Status, DP Privileged, and Start Status. |
The following examples show diagnosis and tuning suggestions for cases where some configurations are abnormal or could be optimized.
- For VMs whose CPUs are not bound to the same NUMA node, an example configuration is provided below. If a vDPA device is deployed on a VM, the tool checks whether the device and the CPU belong to the same NUMA node.
- The tool diagnoses the container status and start status of UnifiedBus information, and provides corresponding diagnosis suggestions.
- The tool diagnoses RAID controller configurations and provides tuning suggestions.
- The tool diagnoses CPU die interleaving.
HTML File Description
- An HTML report can be viewed using a browser. It contains all data collected by commands and provides legends of illustrating the current memory insertion status and recommended insertion method.
- All the collected data is displayed in the lower part of the report. The data is displayed in tables on different tab pages based on the data types.
Table 3 HTML file information Area
Tab
Information Overview
①
-
Server configuration legends and memory insertion status. When you click a legend, the corresponding data is automatically displayed in the table below.
②
-
Diagnosis information and tuning parameter suggestions.
③
Basic Information
Basic information about server hardware and software, such as host, software, and container information.
NUMA
Basic NUMA information and NUMA bus information.
BIOS
Basic BIOS information and collected BIOS setting details.
CPU
Basic CPU information and parameters of all CPU cores.
DIMMs
Basic memory information and DIMM details.
Network
Basic network information, NIC information, and interruption information.
Storage Information
Information about drives, file systems, and physical partitions.
BMC
Server temperature, power supply information, and fan information.
PCIe Topology
PCIe device information, which is displayed in a topology.
Kernel
Server OS kernel information.
UnifiedBus
UnifiedBus information.
④
-
Switches between Chinese and English.



