From owner-freebsd-questions@FreeBSD.ORG Wed Oct 24 19:57:11 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DFD516A41A for ; Wed, 24 Oct 2007 19:57:11 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id EB19A13C48A for ; Wed, 24 Oct 2007 19:57:10 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id l9OJukGr057711; Wed, 24 Oct 2007 21:56:47 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id A9474B869; Wed, 24 Oct 2007 21:56:46 +0200 (CEST) Date: Wed, 24 Oct 2007 21:56:46 +0200 From: Roland Smith To: Ross Penner Message-ID: <20071024195646.GA67817@slackbox.xs4all.nl> Mail-Followup-To: Ross Penner , Erik Cederstrand , User questions References: <471EF23F.7040506@cederstrand.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: User questions , Erik Cederstrand Subject: Re: Via C7 Processor (CPU) - cpufreq and make.conf support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2007 19:57:11 -0000 --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 24, 2007 at 01:25:51PM -0600, Ross Penner wrote: > > sounds reasonable. unfortunetly, 'sysctl dev.cpu.0.freq' doesn't seem to > > work on my system. heh, it'd probably work if I upgrade to 7.0 >=20 > Apparently I'm an idiot. the sysctl command does work. when the system > is mostly idle, It outputs '198' and when I put a high cpu load on it, > it outputs '397'. I'm not exactly sure what this means as I'm hoping > it doesn't refer to the MHz.=20 I'm afraid it does; $ sysctl -d dev.cpu.0.freq dev.cpu.0.freq: Current CPU frequency When I see a CPU speed of 1 GHz in conky, I get: $ sysctl dev.cpu.0.freq dev.cpu.0.freq: 1000 (on my athlon64) What does 'sysctl dev.cpu.0.freq_levels' report? It should list the available CPU frequencies. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --/04w6evG8XlLl3ft Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHH6N+EnfvsMMhpyURAvfOAJsE5vNTwCr2XH305K6QJxk75XFMxQCgjyOd iZe5aOWIWwb7N92Mobb8fug= =nlSr -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--