How to find RAM details in Linux
To find RAM memory details (model number/manufacturer) in Linux, you can use the command
1 |
dmidecode --type 17 |
To show only model numbers, run
1 |
dmidecode --type 17 | grep "Part Number" |
Once you find the Part Number, you can search in google for the part number to see more details about the RAM.
On Ubuntu/Debian, you can install dmidecode with the command
1 |
apt install -y dmidecode |
On RHEL, CentOS, OracleLinux, you can use the command
1 |
yum install dmidecode |
On newer RHEL systems, you can use dnf instead of yum.