cocoa - Documented Methods of Retrieving System Information -


i looking allowed or documented apis let me gather basic system , hardware information (cpu speed, ram, etc..) os x application, information available in system profiler, rather programmatically retrieve data in way apple ok with.

i have searched around , not found anything, wondering if knows different.

use command-line tool system_profiler comes every mac.

system_profiler -xml 

will dump same info standard gui system profiler app in nice xml format.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -