Re: Total RAM slot count obtained programatically
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FYSQOLtOZzSr1Z9AMYZdzfX+GLXQGZJfw0P/V8E2YjYag3bLGa2Xr1A5CXntN0SorBDSEJWrEN7lR8SdTfyhGrUVEivr6PSqpw00dMDzR8Ltv4Ju1EhIvrVAaNwSx94Ogm7L13+tMc1hNnWmjC9RdwFu/fkhozTB4EBe6HCjfeU= That looks like is working on Panther and below, but on Tiger for PPC and Intel it doesn't do that in System_profiler... at least on 10.4.6. Matt On my machine, system_profiler tells me about all the memory slots, including the empty ones. -pmb At 12:52 PM -0600 8/3/06, matt jaffa wrote:
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 <bierman@apple.com> 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On 8/3/06, Peter Bierman <bierman@apple.com> wrote: This email sent to site_archiver@lists.apple.com
participants (1)
-
matt jaffa