[pve-devel] [PATCH manager 9/9] report: add microcode info to better assess possible system impacts

Alexander Zeidler a.zeidler at proxmox.com
Fri Mar 22 14:59:33 CET 2024


* list availability and installation status of `*microcode` packages
* grep for applied "Early OS Microcode Updates"
* grep for (un)patched CPU vulnerability messages

Signed-off-by: Alexander Zeidler <a.zeidler at proxmox.com>
---
 PVE/Report.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index fe497b43..18c554ec 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -108,6 +108,8 @@ my $init_report_cmds = sub {
 		'dmidecode -t bios -q',
 		'dmidecode -t memory | grep -E "Capacity|Devices|Size|Manu|Part" | sed -Ez "s/\n\t(M|P)[^:]*: (\S*)/\t\2/g" | sort',
 		'lscpu',
+		'apt list *microcode 2>/dev/null | column -tL',
+		'dmesg | grep -i "microcode\|vuln"',
 		'lspci -nnk',
 	    ],
 	},
-- 
2.39.2





More information about the pve-devel mailing list