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 hack in i386/27627 (http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/27627) that puts the CPU speed at startup into a sysctl. It's been shot down in -hackers a while ago for various (totally justified) reasons, but it does the job for me locally. :-) Lars -- Lars Eggert <[EMAIL PROTECTED]> Information Sciences Institute http://www.isi.edu/larse/ University of Southern California
smime.p7s
Description: S/MIME Cryptographic Signature