鲲鹏社区首页
中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

鲲鹏硬件健康诊断功能说明

命令功能

轻量准确的鲲鹏硬件静态信息收集工具,可快速收集服务器硬件的各类信息,包括CPU、内存、网络、存储、PCIe、虚拟机、传感器、软件和模块依赖等;并给出一定的调优建议。该工具支持在物理机上使用。

  • 适用于鲲鹏硬件。
  • 支持openEuler、CentOS、Debian、Ubuntu系列操作系统,操作系统版本与DevKit工具支持的操作系统版本保持一致。使用非openEuler系列的操作系统,在采集服务器硬件信息时可能会导致部分字段缺失。

命令格式

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} ...

使用示例

1
KunpengHealthChecker -h

返回信息如下:

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.