Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2002 20:42:41 +0000
From:      Baldur Gislason <baldur@foo.is>
To:        freebsd-hackers@freebsd.org
Subject:   Re: cpu info in userland
Message-ID:  <02012220424109.08293@germanium>
In-Reply-To: <3C4DCAC1.F216A448@videotron.ca>
References:  <20020122113351.A25927@Odin.AC.HMC.Edu> <3C4DCAC1.F216A448@videotron.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
machdep.tsc_freq doesn't work on all my boxes, I have a 4.4-REL machine (p3 
600MHz) here that has it, a 4.4-STABLE machine (AMD k6 233MHz) doesn't, 
4.4-STABLE Celeron2 800MHz doesn't either and 4.4-STABLE AMD k6 500MHz does 
not.

Baldur

On Tuesday 22 January 2002 20:25, you wrote:
> 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,M
> >CA,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

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?02012220424109.08293>