Re: Getting processor description from sysctl
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421) On 08-05-14, at 20:28, Mike wrote: Maybe: system_profiler -xml SPHardwareDataType Philip Aker echo astwta@lvpc.dslh@nl | tr a-z@. p-za-o.@ Sent from my SE/30 In C, not from a shell script. _______________________________________________ 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... Philip Aker wrote: Terry Lambert wrote: On May 14, 2008, at 7:28 PM, Mike wrote: Is there a way to get the description of the processor(s) using sysctl. I am interested in the specific processor name, not the family name. For example "Northwood", not "i386" or "x86". No. We care about the family and the capability bits, not the Intel marketing name for it. The first lets us grade binaries, and th second lets us write software that avoids attempting to use capabilities not present on a specific CPU. -- Terry I am not attempting to use this info to determine capabilities of the specific CPU. I need to write a system-profiler like feature and I need the name of the processor, not just the family. System Profiler provides the processor name, so there must be a way to get it. For example on the MacBook it reports: Processor Name: Intel Core 2 Duo This email sent to site_archiver@lists.apple.com
participants (1)
-
Mike