Yeah, I want to know about those details without opening my CPU chassis. Is it possible to check the memory (RAM) details via server CMI (command line interface)?
Yes, this would be helpful, if you want to purchase RAM and to know the exact speed and type installed. This can be done via server shell using the command “dmidecode” which includes with the “biosdecode” command line utility. Dmidecode is a tool or dumping a computer’s DMI (SMBIOS) table contents in a human-readable format. The output contains a description of the system’s hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. This command works under Linux, UNIX and BSD computers.
Here I directly going to explain how to check the RAM details by using the “dmidecode” command.
1. Open command prompt.
2. Execute the following command:
sudo dmidecode --type 17
Or you can use:
sudo dmidecode --type 17|less
You can see a lot of details from the output. Please see the sample output below:
[email protected]:~# dmidecode --type 17 # dmidecode 2.12 SMBIOS 2.5 present. Handle 0x0027, DMI type 17, 27 bytes Memory Device Array Handle: 0x0025 Error Information Handle: Not Provided Total Width: Unknown Data Width: 64 bits Size: No Module Installed Form Factor: Other Set: None Locator: DIMM A1 Bank Locator: BANK0 Type: DDR2 Type Detail: None Speed: Unknown Manufacturer: Manufacturer0 Serial Number: SerNum0 Asset Tag: AssetTagNum0 Part Number: PartNum0 Handle 0x0029, DMI type 17, 27 bytes Memory Device Array Handle: 0x0025 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 2048 MB Form Factor: DIMM Set: None Locator: DIMM B1 Bank Locator: BANK1 Type: DDR2 Type Detail: Synchronous Speed: 1333 MHz Manufacturer: Manufacturer1 Serial Number: SerNum1 Asset Tag: AssetTagNum1 Part Number: PartNum1
You can see a lot details from the above output instead of the type and speed.