Kunpeng Health Inspector Functions
Command Function
The Kunpeng Health Inspector (KSPECT) is a lightweight and precise tool for collecting static Kunpeng hardware information. It swiftly collects data on server hardware, such as CPUs, memory, network, storage, PCIe, virtual machines (VMs), sensors, software, and module dependencies, and offers performance tuning suggestions based on the collected data. This tool can be used on physical machines.
- This tool is suited for Kunpeng hardware.
- The tool can run on openEuler, CentOS, Debian, and Ubuntu. The OS version must be the same as that supported by the DevKit. For a non-openEuler OS, some fields may be missing when server hardware information is collected.
Syntax
1 | KunpengHealthChecker [-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,all,report} ... |
Example
1 | KunpengHealthChecker -h
|
Command output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | KunpengHealthChecker V1.0 positional arguments: {system,os,bios,software,cpu,numa,memory,network,storage,pcie,ascend,bmc,config,all,report} Choose a module for health check: system Overall info of system, including host, product and baseboard. os OS module contains OS Name, OS Version, Kernel Version, and Boot Parameters. bios Bios info of system, including boot type, cache mode, pcie speed, etc. Note: This feature requires the user to have ipmitool usage privileges or toconfigure the BMC information (including BMC IP, username, and password). software Displays software information, including GCC, glibc, Binutils, Python, KVM, and Docker. cpu Cpu info of system, including model, cpu list, etc. numa Displays NUMA information, including CPUs, memory, PCIe, networks, and NVMe. memory Displays memory information, including common memory information and DIMM information. network Network info of system, including NIC and IRQ. storage Displays storage information, including drives and partitions. pcie PCIE info of system, including pcie device and pcie irq. ascend ASCEND NPU info, including npu-smi, ascend-dmi, etc. bmc Displays information obtained using the BMC. Note: This feature requires the permission to run ipmitool. Alternatively, configure the BMC information (BMC IP address, user name, and password) to obtain the information. If you do not enter the BMC information, SEL logs will not be collected. config Check the dependency of each module and display. all Displays full system information. Note: Collecting all information relies on the BMC information (IP address, user name, and password). Ifyou do not provide the BMC information, the ipmitool will be used for the collection, and the report willlack the information about the modules that strongly depend on the BMC. report Display historical reports or analyze the differences between reports. options: -h, -H, --help Get help information and exit. -L {0,1,2,3,4}, --log-level {0,1,2,3,4} Specify the print log level, 0(debug) | 1(info) | 2(warning) | 3(error) | 4(notset), default is 4(notset). -l {0,1}, --language {0,1} Specifies the printing language, which is 0(en) | 1(zh) and defaults to 1(zh). Note: If the current environment does not support the selected language, 0(en) is used --remote Collects information about the remote node. Note: The tool will be transferred to the /tmp directory on the remote node. After the collection is complete, the tool will be deleted. This function requires the SSH login information of the remote node, including the IP address/port (xx. xx.xx.xx:port. If you do not enter a port, 22 is used.), user name, and password. -s, --skip-bmc Skips BMC collection. -c COMMAND, --bmc-command COMMAND Runs the user-defined BMC information collection command. |
Parent topic: Kunpeng Health Inspector