Re: hw.cpufamily vs ASP vs machine.h
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com I'm trying to find a solution to get the CPU Type on a Mac as it's displayed in Apple System Profiler. = Mike _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Feb 27, 2007, at 12:04 PM, darwin-dev-request@lists.apple.com wrote: Invoke the system_profiler tool and parse its output; use something like "system_profiler -xml SPHardwareDataType". The output is in standard plist format - see plist(5) for some pointers on sucking this into a regular CF datatype, from which you can trivially extract the cpu_type key. This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Smith