dmidecode
is a tool for dumping a computer’s DMI (Desktop Management Interface) table contents in human readable format.
You can learn the system information with:
dmidecode --type system
or you can learn about your memory slots’ details with:
dmidecode --type memory
If you want to look at all dmi table, just use:
dmidecode