CPU clock rate

Polytropon freebsd at edvax.de
Sat Apr 20 13:44:33 UTC 2013


On Sat, 20 Apr 2013 15:33:53 +0200, Eduardo Morras wrote:
> On Sat, 20 Apr 2013 13:13:08 +0200
> Matthias Apitz <guru at unixarea.de> wrote:
> 
> > 
> > Hello,
> > 
> > Do we have something in FreeBSD or its ports to measure the actual CPU
> > clock rate? Thanks
> > 
> > 	matthias 
> 
> Just check sysctl,
> 
> %sysctl dev.cpu.0.freq 
> 
> From ports I use conky, that shows that info and a lot other under X11. 

If you're interested in a X CPU frequency and CPU utilization
monitor (no bloat), comparable to xload and xmbmon, try this:

http://www.secnetix.de/olli/FreeBSD/ports/xcpufreq.tgz

Example:

xcpufreq -geometry 189x164+151+826 -cpuscalecolor grey -freqscalecolor grey -scales 6 -update 1 -jumpscroll 1 &




You could also examine how the kernel generates its CPU
identification message found on top of dmesg output:

/usr/src/sys/i386/i386/identcpu.c

Start looking from line 630.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list