Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2002 15:25:37 -0500
From:      Pierre-Luc =?iso-8859-1?Q?Lesp=E9rance?= <oksala@videotron.ca>
Cc:        hackers@freebsd.org
Subject:   Re: cpu info in userland
Message-ID:  <3C4DCAC1.F216A448@videotron.ca>
References:  <20020122113351.A25927@Odin.AC.HMC.Edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Brooks Davis wrote:
> 
> I'm working on a port of Globus to FreeBSD and some of the monitoring
> tools want to publish info about each CPU in the system.  On the i386
> the most info I need is generally found at the top of dmesg:
> 
> CPU: Pentium III/Pentium III Xeon/Celeron (996.85-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
>   Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>


sysctl hw.model  (for ID)
sysctl machdep.tsc_freq (for clock)

for Other information simply run sysctl -a 
or man 3 sysctl

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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