check memory type ubuntu code example
Example 1: how to get ram detail in linux
sudo dmidecode --type 17
Example 2: ubuntu ram type
sudo dmidecode | grep -A 15 Memory
sudo dmidecode --type 17
sudo dmidecode | grep -A 15 Memory