Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Total RAM slot count obtained programatically



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

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Total RAM slot count obtained programatically (From: "matt jaffa" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.