Or sudo dmidecode | grep -i 'Maximum Capacity:' | uniqĮDIT: more interactive way to see Slot use small script (suggested by Serg) sudo lshw -class memory | awk '/bank/ ' In other slots you can see it shows empty.įor maximum supportable memory use: sudo dmidecode -t 16 Here in my system I have 4 memory slots in which currently I am using only one slot. It will give you an output like this: *-memoryĭescription: SODIMM DDR3 Synchronous 1333 MHz (0.8 ns) You can use this command: sudo lshw -class memory