dmidecode memory health code example
Example 1: linux check ram frequency
sudo lshw -short -C memory
Example 2: ubuntu ram type
sudo dmidecode | grep -A 15 Memory
sudo lshw -short -C memory
sudo dmidecode | grep -A 15 Memory