1. Linux View memory details
[Email protected] ~]# Dmidecode--type Memory
# Dmidecode 2.10
SMBIOS 2.4 present.
Handle 0x004a, DMI type, bytes
Physical Memory Array
Location:system Board Or Motherboard
Use:system Memory
Error Correction type:multi-bit ECC
Maximum capacity:65024 MB
Error Information Handle:not provided
Number of Devices:12
Handle 0x004b, DMI type, bytes
Memory Device
Array handle:0x004a
Error Information Handle:not provided
Total width:72 Bits
Data width:64 Bits
size:2048 MB
Form Factor:dimm
Set:1
Locator:dimm 1
Bank Locator:bank 1
Type:ddr2
Type detail:synchronous
speed:266 MHz
Manufacturer:not Specified
Serial Number:not Specified
Asset Tag:not Specified
Part Number:not Specified
2. View the number of slots in memory and how many slots are in use. How big is the memory and how much memory is used
[Email protected] ~]# Dmidecode--type memory|grep-i size
size:2048 MB
size:2048 MB
size:2048 MB
size:2048 MB
Size:no Module Installed
Size:no Module Installed
size:2048 MB
size:2048 MB
size:2048 MB
size:2048 MB
Size:no Module Installed
Size:no Module Installed
This command is also possible, just a little more complicated.
[Email protected] ~]# dmidecode|grep-p-a5 "Memory\s+device" |grep size|grep-v Range
size:2048 MB
size:2048 MB
size:2048 MB
size:2048 MB
Size:no Module Installed
Size:no Module Installed
size:2048 MB
size:2048 MB
size:2048 MB
size:2048 MB
Size:no Module Installed
Size:no Module Installed
3. Linux View Memory Frequency
[Email protected] ~]# Dmidecode--type memory|grep-i speed
speed:266 MHz
speed:266 MHz
speed:266 MHz
speed:266 MHz
speed:266 MHz
speed:266 MHz
speed:266 MHz
speed:266 MHz
speed:266 MHz
speed:266 MHz
speed:266 MHz
speed:266 MHz
4, Linux view memory supported maximum memory capacity
[Email protected] ~]# dmidecode|grep-p ' maximum\s+capacity '
Maximum capacity:65024 MB
Linux Query Memory command