gathering system information
gathering system information
- Subject: gathering system information
- From: Torsten Curdt <email@hidden>
- Date: Sat, 10 May 2008 17:28:25 +0200
Hey guys,
Is there any other way of collection system information like
- OS version
- processor speed and architecture
- RAM
other than calling
system_profiler -xml > system.plist
system_profiler -detailLevel mini -xml > system.plist
system_profiler SPHardwareDataType SPMemoryDataType -xml >
system.plist
and then reading and accessing that dictionary?
For OS version I found
http://www.cocoadev.com/index.pl?DeterminingOSVersion
Any other suggestions? Calling the system profiler and reading/parsing
a temp file feels quite clumsy.
cheers
--
Torsten
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden