• 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: System information
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System information


  • Subject: Re: System information
  • From: Ryan Dingman <email@hidden>
  • Date: Thu, 2 Jan 2003 16:01:36 -0800

On Thursday, January 2, 2003, at 07:17 AM, Raymund Beyer wrote:

Is there a way to request system things like RAM size, OS version, disk
size in Cocoa? I havn't yet found a class doing this, but maybe I
overlooked it.

There is not class in Cocoa which provides this information. You can get RAM size and the Darwin OS version from sysctl(). The Mac OS X version can be found in /System/Library/CoreServices/SystemVersion.plist. To find disk sizes I would suggest checking out the source code to the "df" command in Darwin.

Hope this helps.

ryan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: System information
      • From: Kent Sandvik <email@hidden>
References: 
 >System information (From: "Raymund Beyer" <email@hidden>)

  • Prev by Date: Re: loading windows & SIGBUS
  • Next by Date: Re: NSMutableDictionary Q's
  • Previous by thread: System information
  • Next by thread: Re: System information
  • Index(es):
    • Date
    • Thread