Re: Getting processor description from sysctl
Re: Getting processor description from sysctl
- Subject: Re: Getting processor description from sysctl
- From: Mike <email@hidden>
- Date: Wed, 14 May 2008 21:41:23 -0700
Philip Aker wrote:
On 08-05-14, at 20:28, Mike 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
Maybe:
system_profiler -xml SPHardwareDataType
Philip Aker
echo email@hidden@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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden