root模式下运行命令:
dmidecode -t memory
输出如下:
[root@localhost MD]# dmidecode -t memory # dmidecode 3.1 Getting SMBIOS data from sysfs. SMBIOS 3.0 present. Handle 0x004C, DMI type 16, 23 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 64 GB Error Information Handle: Not Provided Number Of Devices: 4 Handle 0x004D, DMI type 17, 40 bytes Memory Device Array Handle: 0x004C Error Information Handle: Not Provided Total Width: Unknown Data Width: Unknown Size: No Module Installed Form Factor: Unknown Set: None Locator: ChannelA-DIMM0 Bank Locator: BANK 0 Type: Unknown Type Detail: None Speed: Unknown Manufacturer: Not Specified Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Rank: Unknown Configured Clock Speed: Unknown Minimum Voltage: Unknown Maximum Voltage: Unknown Configured Voltage: Unknown Handle 0x004E, DMI type 17, 40 bytes Memory Device Array Handle: 0x004C Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 8192 MB Form Factor: DIMM Set: None Locator: ChannelA-DIMM1 Bank Locator: BANK 1 Type: DDR4 Type Detail: Synchronous Speed: 2133 MT/s Manufacturer: Samsung Serial Number: 51132416 Asset Tag: 9876543210 Part Number: M378A1K43BB1-CPB Rank: 1 Configured Clock Speed: 2133 MT/s Minimum Voltage: Unknown Maximum Voltage: Unknown Configured Voltage: 1.2 V Handle 0x004F, DMI type 17, 40 bytes Memory Device Array Handle: 0x004C Error Information Handle: Not Provided Total Width: Unknown Data Width: Unknown Size: No Module Installed Form Factor: Unknown Set: None Locator: ChannelB-DIMM0 Bank Locator: BANK 2 Type: Unknown Type Detail: None Speed: Unknown Manufacturer: Not Specified Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Rank: Unknown Configured Clock Speed: Unknown Minimum Voltage: Unknown Maximum Voltage: Unknown Configured Voltage: Unknown Handle 0x0050, DMI type 17, 40 bytes Memory Device Array Handle: 0x004C Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 8192 MB Form Factor: DIMM Set: None Locator: ChannelB-DIMM1 Bank Locator: BANK 3 Type: DDR4 Type Detail: Synchronous Speed: 2133 MT/s Manufacturer: Samsung Serial Number: 14172122 Asset Tag: 9876543210 Part Number: M378A1G43DB0-CPB Rank: 2 Configured Clock Speed: 2133 MT/s Minimum Voltage: Unknown Maximum Voltage: Unknown Configured Voltage: 1.2 V
代表目前有两根内存条,频率2133MHz,DDR4,各8G,共16G,最大64G