diff --git a/kyreport/ky_report.py b/kyreport/ky_report.py index 0d7e123c0c3b2a868eca4a7bcc0155f7a9539abc..b65cd9454953e313aee73f74f02fa8b34b85b58b 100644 --- a/kyreport/ky_report.py +++ b/kyreport/ky_report.py @@ -51,6 +51,7 @@ class KyReport: info['base_info']['hostname'] = Command.cmd_exec(r'hostname') info['base_info']['system_version'] = Command.cmd_exec(r'cat /etc/.productinfo | grep release') info['base_info']['kernel_version'] = Command.cmd_exec(r'uname -r') + info['base_info']['gcc_version'] = Command.cmd_exec(r'gcc --version | head -n 1') # end base info # setting base cpu info