while using lshw, the output for memory is:
*-memory
description: System Memory
physical id: 1
slot: System board or motherboard
size: 8GiB
*-bank:0
description: SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
product: RMSA3310MJ86H9F-3200
vendor: Ramaxel Technology
physical id: 0
serial: 11441C6B
slot: DIMM 0
size: 4GiB
width: 64 bits
clock: 2400MHz (0.4ns)
*-bank:1
description: SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
product: M471A5244CB0-CTD
vendor: Samsung
physical id: 1
serial: 00000000
slot: DIMM 0
size: 4GiB
width: 64 bits
clock: 2400MHz (0.4ns)