鲲鹏硬件健康诊断使用示例
查看服务器信息

- 采集过程中某些模块信息需使用BMC信息(IP地址,用户名和密码),请输入对应的BMC信息;选择不输入将跳过BMC强相关模块的采集。
- 内存信息提供内存最优插法推荐。
- 查看全量信息时,报告最后将提供几个格式的全量信息文件(HTML/JSON/CSV/TAR.GZ)和dmesg日志文件。
- 报告中红色为ERROR信息,黄色为WARNING信息,绿色为INFO信息,粉色为调优建议(现象描述和修改步骤)。
- 报告在回显仅呈现各个模块的关键信息,详细的全量信息请查看JSON和CSV文件。
- 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 报告对比
父主题: 鲲鹏硬件健康诊断