Re: System information
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.