From f5d4b0a1dcb44bd48581cf67a9d5e1f88befc42a Mon Sep 17 00:00:00 2001 From: xuhe Date: Wed, 27 Nov 2024 17:04:36 +0800 Subject: [PATCH] Add network info get and display for html --- kyreport/ky_report.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kyreport/ky_report.py b/kyreport/ky_report.py index 480ab9b..52284fb 100644 --- a/kyreport/ky_report.py +++ b/kyreport/ky_report.py @@ -63,7 +63,7 @@ class KyReport: info['base_info']['gcc_version'] = Command.cmd_exec(r'gcc --version | head -n 1') info['base_info']['glibc_version'] = Command.cmd_exec(r'getconf GNU_LIBC_VERSION') # ldd --version | head -n 1 info['base_info']['jdk_version'] = Command.cmd_exec(r'java -version 2>&1 | head -n 1') - + info['base_info']['net_sum'] = self.build_netsum() # end base info # setting base cpu info @@ -90,6 +90,7 @@ class KyReport: info['common_cmd']['subsarinfo'] = GlobalParameter().sub_sarall # ending menu info + content = """