how find out CPU clockrate?

James Long james_mapson at umpquanet.com
Fri Jan 9 15:58:43 PST 2004


On Sat, Jan 10, 2004 at 12:12:20AM +0100, Palle Girgensohn wrote:
> 
> $ dmesg | grep -i hz
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: Pentium II/Pentium II Xeon/Celeron (349.20-MHz 686-class CPU)
> 
> 
> Better ideas?

Only slightly better, but:

grep -w ^CPU: /var/run/dmesg.boot

/sbin/dmesg is not always trustworthy.



More information about the freebsd-questions mailing list