Did you know?
dmidecode -t 17 shows which RAM slots are filled and which are empty.
Check free slots and whether two sticks sit on different channels (A and B) for dual channel, without opening the case.
- System & services
- Last checked
Explained
Type 17 in the SMBIOS tables is the “Memory Device” record, and the firmware lists one for every RAM slot on the board. Filter it down to the useful lines:
sudo dmidecode -t 17 | grep -E 'Size|Locator'Each slot prints a Size line (for example 16 GB, or No Module Installed for an empty slot) and Locator/Bank Locator lines that name the slot. The names come from the motherboard maker, so they vary: DIMM_A2, ChannelB-DIMM1 or P0 CHANNEL A are all common.
This answers two questions without opening the case: how many free slots you have for an upgrade, and whether two sticks sit on different channels (A and B), which they must for dual channel. Inside a virtual machine you only see the slots the hypervisor invents, such as DIMM 0.
Learn more
- Single Channel vs Dual Channel RAM: Is 2×8GB Better Than 1×16GB? Full guide · Updated Dec 2026
