(转)如何查看Linux内存信息

MrRaoJL 2012-04-13

1.内存的插槽数,已经使用多少插槽.每条内存多大,已使用内存多大

dmidecode|grep-P-A5“Memory\s+Device”|grepSize|grep-vRange

Size:2048MB

Size:2048MB

Size:NoModuleInstalled

Size:NoModuleInstalled

Size:NoModuleInstalled

Size:NoModuleInstalled

Size:NoModuleInstalled

Size:NoModuleInstalled

2.支持的最大内存容量

dmidecode|grep-P‘Maximum\s+Capacity’

MaximumCapacity:64GB

3.查看内存的频率

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)

相关推荐