linux下查看内存硬件信息命令 dmidecode -t memory

[root@upgirl ~]# dmidecode -t memory

# dmidecode 2.11
SMBIOS 2.6 present.

Handle 0x0007, DMI type 5, 20 bytes
Memory Controller Information
Error Detecting Method: None
Error Correcting Capabilities:
None
Supported Interleave: One-way Interleave
Current Interleave: One-way Interleave
Maximum Memory Module Size: 4096 MB   //支持单条最大内存:4G
Maximum Total Memory Size: 8192 MB   //支持的总内存大小:8G
Supported Speeds:
Other
Supported Memory Types:
DIMM
SDRAM
Memory Module Voltage: 2.9 V
Associated Memory Slots: 2  //槽数:2
0x0008
0x0009
Enabled Error Correcting Capabilities:
Unknown

Handle 0x0008, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: DIMM Slot 1  //插槽1
Bank Connections: 0 1
Current Speed: 43 ns
Type: DIMM SDRAM
Installed Size: 2048 MB (Double-bank Connection) //已经安装2G
Enabled Size: 2048 MB (Double-bank Connection)
Error Status: OK

Handle 0x0009, DMI type 6, 12 bytes
Memory Module Information
Socket Designation: DIMM Slot 2  //插槽2
Bank Connections: 2 3
Current Speed: 43 ns
Type: DIMM SDRAM
Installed Size: 2048 MB (Single-bank Connection)  //已经安装2G
Enabled Size: 2048 MB (Single-bank Connection)
Error Status: OK

Handle 0x002A, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 8 GB
Error Information Handle: Not Provided
Number Of Devices: 2

Handle 0x002B, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x002A
Error Information Handle: No Error
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: SODIMM
Set: None
Locator: DIMM 1
Bank Locator: Bank 0/1
Type: DDR3
Type Detail: Synchronous
Speed: 1066 MHz
Manufacturer: 830B            
Serial Number: DDF96011        
Asset Tag: 1030
Part Number: NT2GC64B8HC0NS-BE   //内存型号
Rank: Unknown

Handle 0x002C, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x002A
Error Information Handle: No Error
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: SODIMM
Set: None
Locator: DIMM 2
Bank Locator: Bank 2/3
Type: DDR3
Type Detail: Synchronous
Speed: 1334 MHz
Manufacturer: 80CE            
Serial Number: 791FD45B        
Asset Tag: 1051
Part Number: M471B5773CHS-CH9  //内存型号
Rank: Unknown