I am also looking for a way to get the number of RAM slots the
computer has which unfortunately it looks like system_profiler doesn't
do. But there has to be a way since ARD 3 can get the number of RAM
slots on the machine regardless how many actually have RAM installed
in them.
But thanks for the system_profiler pointer. it gets everything but the
one peice above that I am missing.
On 8/3/06, Peter Bierman <email@hidden> wrote:
At 11:19 AM -0600 8/3/06, matt jaffa wrote:
Is there an easy way programmatically to determine how many RAM slots
there are and what is filled in them. I ran IORegistryExplorer and it
doesn't look like it informs you of the missing slots, just tells you
what RAM is installed. I need to know the count of slots their names
(DIMM0, DIMM1) and which ones are filled and with what type.
IORegistryExplorer almost does it except doesn't inform of the slots
with no RAM. It would also be nice if I could find out information as
how much each slot supports.
man system_profiler
system_profiler SPMemoryDataType
-pmb