查看内存的插槽数
# dmidecode | grep -P -A5 "Memory Device" | grep Size | grep -v Range
Size: 2048 MB
Size: 2048 MB
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
8个插槽,已用2个,每条插2G内存
查看内存支持的最大内存容量
# dmidecode | grep -P 'Maximum Capacity'
Maximum Capacity: 128 GB
查看内存的频率
# dmidecode | grep -A 16 "Memory Device" | grep 'Speed'
Speed: 1066 MHz
Speed: 1066 MHz
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: Unknown
Speed: Unknown