user@debian:~$ sudo dmidecode --type memory
# dmidecode 3.6
Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.

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

Handle 0x0028, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x0027
	Error Information Handle: No Error
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 4 GB
	Form Factor: Row Of Chips
	Set: None
	Locator: Bottom-on board
	Bank Locator: BANK 0
	Type: LPDDR3
	Type Detail: Synchronous Unbuffered (Unregistered)
	Speed: 1867 MT/s
	Manufacturer: Samsung
	Serial Number: Not Avaiable
	Asset Tag: 9876543210
	Part Number: K4E6E304EB-EGCF   
	Rank: 2
	Configured Memory Speed: 1867 MT/s
	Minimum Voltage: 1.5 V
	Maximum Voltage: 1.5 V
	Configured Voltage: 1.2 V

Handle 0x0029, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x0027
	Error Information Handle: No Error
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 4 GB
	Form Factor: Row Of Chips
	Set: None
	Locator: Bottom-on board
	Bank Locator: BANK 2
	Type: LPDDR3
	Type Detail: Synchronous Unbuffered (Unregistered)
	Speed: 1867 MT/s
	Manufacturer: Samsung
	Serial Number: Not Avaiable
	Asset Tag: 9876543210
	Part Number: K4E6E304EB-EGCF   
	Rank: 2
	Configured Memory Speed: 1867 MT/s
	Minimum Voltage: 1.5 V
	Maximum Voltage: 1.5 V
	Configured Voltage: 1.2 V
