From owner-freebsd-hackers Tue Jan 22 12:25:53 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from oksala.org (modemcable044.179-200-24.timi.mc.videotron.ca [24.200.179.44]) by hub.freebsd.org (Postfix) with ESMTP id 0EB1637B402 for ; Tue, 22 Jan 2002 12:25:51 -0800 (PST) Received: from videotron.ca (silence [24.200.179.44]) by oksala.org (8.11.6/8.11.1) with ESMTP id g0MKPgl01553 for ; Tue, 22 Jan 2002 15:25:43 -0500 (EST) (envelope-from oksala@videotron.ca) Message-ID: <3C4DCAC1.F216A448@videotron.ca> Date: Tue, 22 Jan 2002 15:25:37 -0500 From: Pierre-Luc =?iso-8859-1?Q?Lesp=E9rance?= X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 Cc: hackers@freebsd.org Subject: Re: cpu info in userland References: <20020122113351.A25927@Odin.AC.HMC.Edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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 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