From owner-freebsd-hackers Tue Jan 22 12:39:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from tesla.foo.is (tesla.reverse-bias.org [217.151.166.96]) by hub.freebsd.org (Postfix) with ESMTP id A63A237B404 for ; Tue, 22 Jan 2002 12:39:24 -0800 (PST) Received: from germanium (germanium.reverse-bias.org [192.168.1.1]) by tesla.foo.is (Postfix) with SMTP id 1450B275D for ; Tue, 22 Jan 2002 20:39:17 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" From: Baldur Gislason To: freebsd-hackers@freebsd.org Subject: Re: cpu info in userland Date: Tue, 22 Jan 2002 20:42:41 +0000 X-Mailer: KMail [version 1.2] References: <20020122113351.A25927@Odin.AC.HMC.Edu> <3C4DCAC1.F216A448@videotron.ca> In-Reply-To: <3C4DCAC1.F216A448@videotron.ca> MIME-Version: 1.0 Message-Id: <02012220424109.08293@germanium> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 >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