Is there any method / API defined to collect system info in osx.
I want to write utility which will collect hardware information like CPU,RAM,Network adapter.
Any idea ?
Thanks
The underlying API that I believe System Profiler uses (for at least some of the information it gathers), and that you should use if you want very specific information, is sysctl. It lets you query for individual attributes of the system, including number of CPUs, CPU speed, available RAM, etc.