CentOS (RHEL) 系统管理中的查看内存插槽数、最大容量和频率

Linux 查看内存的插槽数,已经使用多少插槽。每条内存多大,已使用内存多大

[root@HNTX-XY-PIM-HA5 ~]# dmidecode|grep -P -A5 "Memory\s+Device"|grep Size|grep -v Range

Size: 512 MB

Size: No Module Installed

Size: 512 MB

Size: No Module Installed

Size: 512 MB

Size: No Module Installed

Size: 512 MB

Size: No Module Installed


查看内存支持的最大内存容量

[root@HNTX-XY-PIM-HA5 ~]# dmidecode|grep -P 'Maximum\s+Capacity'

Maximum Capacity: 32 GB


查看内存的频率

[root@HNTX-XY-PIM-HA5 ~]# dmidecode|grep -A16 "Memory Device"|grep 'Speed'

Speed: 667 MHz (1.5 ns)

Speed: Unknown

Speed: 667 MHz (1.5 ns)

Speed: Unknown

Speed: 667 MHz (1.5 ns)

Speed: Unknown

Speed: 667 MHz (1.5 ns)

Speed: Unknown


你可能感兴趣的:(linux,查看内存)