From owner-freebsd-questions@FreeBSD.ORG Sat Apr 20 13:44:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9D081838 for ; Sat, 20 Apr 2013 13:44:33 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6835A1DFA for ; Sat, 20 Apr 2013 13:44:33 +0000 (UTC) Received: from r56.edvax.de (port-92-195-80-247.dynamic.qsc.de [92.195.80.247]) by mx02.qsc.de (Postfix) with ESMTP id 5B61E2435D; Sat, 20 Apr 2013 15:44:26 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r3KDiYl6003261; Sat, 20 Apr 2013 15:44:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 20 Apr 2013 15:44:34 +0200 From: Polytropon To: Eduardo Morras Subject: Re: CPU clock rate Message-Id: <20130420154434.fd77daa1.freebsd@edvax.de> In-Reply-To: <20130420153353.0670d11db81f24d98fd4b552@yahoo.es> References: <20130420111308.GA3011@tinyCurrent> <20130420153353.0670d11db81f24d98fd4b552@yahoo.es> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Matthias Apitz , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Apr 2013 13:44:33 -0000 On Sat, 20 Apr 2013 15:33:53 +0200, Eduardo Morras wrote: > On Sat, 20 Apr 2013 13:13:08 +0200 > Matthias Apitz 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, ...