Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Mar 2006 22:44:40 -0500
From:      "Michael P. Soulier" <msoulier@digitaltorque.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: cat /proc/cpuinfo ?
Message-ID:  <20060328034440.GY12075@tigger.digitaltorque.ca>
In-Reply-To: <12437d830603270101l274a6a0co@mail.gmail.com>
References:  <Pine.LNX.4.61.0603262241560.2203@liam.billschoolcraft.com> <20060327172331.648b8f59@localhost> <12437d830603270101l274a6a0co@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 27/03/06 Dhénin Jean-Jacques said:

> pkg_add cpuid
> 
> and
> 
> :; cpuid
> 
>  eax in    eax      ebx      ecx      edx
> 00000000 00000002 756e6547 6c65746e 49656e69
> 00000001 00000f27 0001080a 00000400 bfebfbff
> 00000002 665b5101 00000000 00000000 003b7040
> 80000000 80000004 00000000 00000000 00000000
> 80000001 00000000 00000000 00000000 00000000
> 80000002 20202020 20202020 20202020 20202020
> 80000003 65746e49 2952286c 6c654320 6e6f7265
> 80000004 20295228 20555043 30322e32 007a4847
> 
> Vendor ID: "GenuineIntel"; CPUID level 2
> 
> Intel-specific functions:
> Version 00000f27:
> Type 0 - Original OEM
> Family 15 - Pentium 4
> Extended family 0
> Model 2 - Intel Pentium 4 processor (generic) or newer
> Stepping 7
> Reserved 0

Cool. I don't see clock speed here. 

I guess this works though. 

[msoulier@kanga ~]$ sysctl -a | grep clockrate
kern.clockrate: { hz = 100, tick = 10000, profhz = 1024, stathz = 128 }
hw.clockrate: 997

As it's ~1GHz, I guess that 997 is in MHz?

Mike

-- 
Michael P. Soulier <msoulier@digitaltorque.ca>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEKLEoKGqCc1vIvggRAtP0AJ9YhPZM+QqkmJEWoqIDB5tGiG1QiQCgl0VO
o0eOU/WY3eGcdPB5qTlpvqA=
=ZR/U
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060328034440.GY12075>