• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Discovering how many RAM slots exist on the computer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Discovering how many RAM slots exist on the computer


  • Subject: Re: Discovering how many RAM slots exist on the computer
  • From: "Shawn Erickson" <email@hidden>
  • Date: Thu, 3 Aug 2006 10:24:06 -0700

On 8/3/06, matt jaffa <email@hidden> wrote:
Hi,

Is there an easy way in Cocoa/IOKit to determine how many RAM slots
there are and what is filled in them.

Not knowing you target operating systems consider using system_profiler from an NSTask if you want something fairly easy.

system_profiler -xml SPMemoryDataType

(using the -xml option results in a standard plist that you can parse
with NSPropertyListSerialization)

-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Discovering how many RAM slots exist on the computer (From: "matt jaffa" <email@hidden>)

  • Prev by Date: Re: Discovering how many RAM slots exist on the computer
  • Next by Date: looks like Intel vs. PowerPC difference
  • Previous by thread: Re: Discovering how many RAM slots exist on the computer
  • Next by thread: Crash on [NSApp endSheet]
  • Index(es):
    • Date
    • Thread