Re: cpu info in userland

2002-01-22 Thread Pierre-Luc Lespérance
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

Re: cpu info in userland

2002-01-22 Thread Lars Eggert
Brooks Davis wrote: > I'm trying to figure out how to get it from userland (in a shell script). > I've looked at the cpuid port which seems to do most of it, but it > doesn't display clock speed, only works on IA32 cpus, and won't be > accurate if we have mismatched CPUs.[0] FWIW, there's a bad

Re: cpu info in userland

2002-01-22 Thread Miguel Mendez
On Tuesday 22 January 2002 20:33, Brooks Davis wrote: Hi. > I'm trying to figure out how to get it from userland (in a shell script). > I've looked at the cpuid port which seems to do most of it, but it > doesn't display clock speed, only works on IA32 cpus, and won't be > accurate if we have mi

Re: cpu info in userland

2002-01-22 Thread Alfred Perlstein
Y'know this really deserves a FAQ entry if it exists, if not anyone feel like implementing the sysctl for it? * Brooks Davis <[EMAIL PROTECTED]> [020122 11:34] 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.

cpu info in userland

2002-01-22 Thread Brooks Davis
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"