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

鲲鹏硬件健康诊断使用示例

查看服务器信息

  • 采集过程中某些模块信息需使用BMC信息(IP地址,用户名和密码),请输入对应的BMC信息;选择不输入将跳过BMC强相关模块的采集。
  • 内存信息提供内存最优插法推荐。
  • 查看全量信息时,报告最后将提供几个格式的全量信息文件(HTML/JSON/CSV/TAR.GZ)和dmesg日志文件。
  • 报告中红色为ERROR信息,黄色为WARNING信息,绿色为INFO信息,粉色为调优建议(现象描述和修改步骤)。
  • 报告在回显仅呈现各个模块的关键信息,详细的全量信息请查看JSON和CSV文件。
  • HTML报告可使用浏览器查看,包含命令采集的全部数据,并提供当前内存插入状态和内存最优插法推荐的图例。
  • 若仅需查看某一模块内容可使用对应子命令查看。
  • 查看服务器全量信息:
    1
    KunpengHealthChecker all
    

    全量信息的全部报告包括所有子命令功能(网络、NUMA、PCIe、存储等)的信息,不全部列举,详情请实际使用工具查看。

    图1 诊断信息

    工具提供的调优建议仅供参考,请根据实际情况修改执行。

    图2 CPU信息
    图3 内存信息
    图4 生成数据文件
  • 查看单个模块信息

    查看PCIe信息:

    1
    KunpengHealthChecker pcie
    
    图5 PCIe信息
  • 查看HTML静态文件
    图6 HTML文件-内存插槽图例
    图7 HTML文件-基本信息

查看/对比历史报告

  • 查看存在的历史报告:
    KunpengHealthChecker report -h

    返回信息如下:

    usage: KunpengHealthChecker report [-h] [-r REPORT] [-d [DIFF]] [--brief]
    
    options:
      -h, -H, --help    Get help information and exit.
    
      -r REPORT, --report REPORT
                        Select which report to display (or enter the report path).
                        1: /home/KunpengHealthChecker/output/khc-report-20250408-113553/khc-json-20250408-113553.json <Tue Apr 08 11:35:53 AM CST 2025>
    
    
    
      -d [DIFF], --diff [DIFF]
                        Select two reports and compare between them.
                        --diff 0                              : Generate a report and compare it with the previous report.
                        --diff N                              : Generate a report and compared it with the historical report No.
                        --diff N,M                            : Compare between the historical reports No.<N> and No.<M>.
                        --diff <INPUT_PATH>                   : Generate a report and compare it with the input report.
                        --diff <INPUT_PATH_A>,<INPUT_PATH_B>  : Compare between the input reports <A> and <B>.
      --brief               The comparison report simplifies the report contents and does not display the details of each module.
  • 生成一个新报告,并和最近的一个报告进行对比,然后简化对比内容:
    KunpengHealthChecker report -d 0 --brief
    图8 报告对比