Rate This Document
Findability
Accuracy
Completeness
Readability

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

Table 1 Parameters of the all command

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

Collects complete information and skips BMC configuration.
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.

Table 2 Modules that support diagnosis/tuning

Module

Type

Diagnosis/Tuning

System

  • Host
  • Product
  • Baseboard

Diagnosis suggestions

OS

  • OS
  • Kernel
  • OS Boot Parameters
  • SELinux

Tuning suggestions

BIOS

  • BIOS
  • BIOS detail Info

Diagnosis and tuning suggestions

software

  • Software Version
  • KVM Info
  • KVM Table
  • Docker Info
  • Docker Table

Tuning suggestions

CPU

  • CPU
  • CPU Table

Diagnosis and tuning suggestions

NUMA

  • NUMA Memory Table
  • NUMA PCIe Table

Tuning suggestions

Memory

  • OS Memory Info
  • DIMM Table

Diagnosis and tuning suggestions

Network

  • Network Table
  • Network IRQ Table
  • Hardware Interrupt Info Table
  • NIC Perf Metrics Table
  • Network System Info Table
  • Route Table\ARP Table

Diagnosis and tuning suggestions

Storage

  • Disk Table
  • Filesystem Table
  • Smart Health Table
  • IO Stat Table
  • Physical Storage Table
  • RAID Info Table

Diagnosis and tuning suggestions

PCIe

PCIe Table

Diagnosis suggestions

BMC

  • BMC
  • Temperature Table
  • Power Table
  • Fans Table

Diagnosis suggestions

UB

  • UBSE Info
  • UBSVirt Info

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

Figure 1 HTML file
  • 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.