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

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


  • Follow-Ups:
    • Re: gathering system information
      • From: Chris Hanson <email@hidden>
    • Re: gathering system information
      • From: Jens Alfke <email@hidden>
    • Re: gathering system information
      • From: Chilton Webb <email@hidden>
  • Prev by Date: Re: Problem getting subclass of NSTextContainer working properly [SOLVED]
  • Next by Date: Re: gathering system information
  • Previous by thread: Re: Problem getting subclass of NSTextContainer working properly [SOLVED]
  • Next by thread: Re: gathering system information
  • Index(es):
    • Date
    • Thread