How do I check how many RAM slots I have in use?

Solution 1:

The System Information app has this information (and a lot of other info about your computer). Access it by going to the Apple menu (top left of your screen), selecting About This Mac, and clicking the More Info button.

Fire up the app and click on the Memory tab. You'll get a visual representation of how much memory you have and how it's installed. There is a rectangle for each memory slot, and each rectangle will be labeled "Empty", or with the capacity of the chip inserted.

enter image description here

For even more info, go to File-> System Report.
In the new window that appears, click Memory in the list on the left. It will show you the number of slots and what's in each one. In the below screenshot, there is one empty bank. It's the one with the Size, Type, Speed, and Status as Empty.
If none of yours say empty, you've got something in every slot.

enter image description here

Note that if you have an older version of OS X than Lion, you won't have the visual representation. You can open System Profiler (/Applications/Utilities) and follow the directions from the second half of this answer.

Solution 2:

To literally check from the command line, use system_profiler:

$ system_profiler SPMemoryDataType


Memory:

    Memory Slots:

      ECC: Disabled

        BANK 0/DIMM0:

          Size: 4 GB
          Type: DDR3
          Speed: 1067 MHz
          Status: OK
          Manufacturer: 0x8394
          Part Number: 0x393931363434202839393636343429000000
          Serial Number: 0x00000000

        BANK 1/DIMM0:

          Size: 4 GB
          Type: DDR3
          Speed: 1067 MHz
          Status: OK
          Manufacturer: 0x8394
          Part Number: 0x393931363434202839393636343429000000
          Serial Number: 0x00000000

Solution 3:

Go to apple menu > About This Mac > More Info and click on "Memory" on the left. That should give you detailed information about your RAM.