Re: Total RAM slot count obtained programatically
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com -pmb 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. 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 _______________________________________________ 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 my machine, system_profiler tells me about all the memory slots, including the empty ones. At 12:52 PM -0600 8/3/06, matt jaffa wrote: On 8/3/06, Peter Bierman <bierman@apple.com> wrote: At 11:19 AM -0600 8/3/06, matt jaffa wrote: -pmb This email sent to site_archiver@lists.apple.com
participants (1)
-
Peter Bierman