>Other than 'grep'ing dmesg, is there a way to know the current cpu such as a 
>struct with the machine's cpu and cpu feature (kinda like a time_t struct)?

$ sysctl hw.model
hw.model: AMD Athlon(tm) 64 Processor 3000+

If you want more details write a tiny assembler routine that does a
CPUID instruction and decode the result.  Intel has a detailed application
note about it at
http://developer.intel.ru/design/xeon/applnots/241618.htm

R's,
John
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to