1.Linux 查看内存的插槽数,已经使用多少插槽.每条内存多大,已使用内存多大
dmidecode|grep -P-A5 "Memorys+Device"|grep Size|grep -vRange
Size:2048MB
Size:2048MB
Size:NoModuleInstalled
Size:NoModuleInstalled
Size:NoModuleInstalled
Size:NoModuleInstalled
Size:NoModuleInstalled
Size:NoModuleInstalled
2.Linux 查看内存支持的最大内存容量
dmidecode|grep -P 'Maximums+Capacity'
MaximumCapacity:64GB
3.Linux 查看内存的频率
dmidecode|grep -A16 "MemoryDevice"
dmidecode|grep -A16 "MemoryDevice"|grep'Speed'
Speed:667MHz(1.5ns)
Speed:667MHz(1.5ns)
Speed:667MHz(1.5ns)
Speed:667MHz(1.5ns)
Speed:667MHz(1.5ns)
Speed:667MHz(1.5ns)
Speed:667MHz(1.5ns)
Speed:667MHz(1.5ns)