[pve-devel] [PATCH manager 8/9] report: add info about (un)used memory slots
Alexander Zeidler
a.zeidler at proxmox.com
Fri Mar 22 14:59:32 CET 2024
* to see if a RAM upgrade is slot/capacity-wise possible
* to spot added/replaced RAM that may now be causing issues
# dmidecode -t memory ...
Maximum Capacity: 2 TB
Number Of Devices: 8
Size: 16 GB Micron Technology 18ASF2G72PZ-2G6D1
Size: 16 GB Micron Technology 18ASF2G72PZ-2G6D1
Size: 16 GB Micron Technology 18ASF2G72PZ-2G6D1
Size: 16 GB Micron Technology 18ASF2G72PZ-2G6D1
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Signed-off-by: Alexander Zeidler <a.zeidler at proxmox.com>
---
PVE/Report.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/Report.pm b/PVE/Report.pm
index f28d7b38..fe497b43 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -106,6 +106,7 @@ my $init_report_cmds = sub {
cmds => [
'cd /sys/devices/virtual/dmi/id; cat board_vendor board_name',
'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',
'lspci -nnk',
],
--
2.39.2
More information about the pve-devel
mailing list