all
Command Function
Collects all server information. Collecting all information relies on the BMC information (IP address, user name, and password). If you do not provide the BMC information, the IPMItool will be used for the collection, and the report will lack the information about the modules that strongly depend on the BMC.
Syntax
1
|
./kspect all [-h] |
Parameter Description
|
Parameter |
Description |
|---|---|
|
None |
Displays all system information, including all hardware and software information. |
|
-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.
For VMs whose CPUs are not bound to the same NUMA node, the following VM configuration example is provided. If a vDPA virtual device is deployed on a VM, the system checks whether the vDPA virtual device and the CPU belong to the same NUMA node.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
Status quo: The CPUs of VM_name1 and VM_name2 are not bound to the same NUMA node, affecting the performance. Configuration method: (1) Edit the VM XML configuration file. (2) Configure the parameters in the XML file. For example, bind the four CPU cores of the VMs to the physical CPUs from xx to xx. <domain type = 'KVM'> ... <vcpu placement = 'static' cpuset='xx-xx'>4</vcpu> <cputune> <vcpupin vcpu='0' cpuset='xx'/> <vcpupin vcpu='1' cpuset='xx'/> <vcpupin vcpu='2' cpuset='xx'/> <vcpupin vcpu='3' cpuset='xx'/> <emulatorpin cpuset='xx-xx'/> </cputune> ... <domain> Result: Bind the CPU cores of VMs to the same NUMA node to improve performance. |
HTML File Description
- The 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 2 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.
Memory information
Basic memory information and DIMM details.
Network interrupts
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.
④
-
Switches between Chinese and English.