I have 2 PCs. A Laptop dv600 and an Intel dp35dp. I want a command that shows me how many slots of memory I am using, the size, speed, etc.. For the moment the size of each would be good. Maybe see if there are slot free to use.
I find the following more more Human friendly and it gives the Speed, Size, Slot, Dimm Type, etc...
sudo dmidecode -t memory
If you only need to know the actual maximum memory and amount of slots in your motherboard then do the following:
sudo dmidecode -t 16
Changing 16 for 17 will give you an more detail look at each memory slot in your motherboard.