Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2015 09:12:54 -0453
From:      "William A. Mahaffey III" <wam@hiwaay.net>
Cc:        "FreeBSD Questions !!!!" <freebsd-questions@freebsd.org>
Subject:   Re: sysctl question
Message-ID:  <5554ABEF.4070300@hiwaay.net>
In-Reply-To: <20150514055826.01e841ae@gecko4>
References:  <55541052.6020802@hiwaay.net> <20150514055826.01e841ae@gecko4>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 05/14/15 05:04, mfv wrote:
> Hello William,
>
> I had the same problem using amdtemp but used the sysctl setting
> "dev.amdtemp.%d.sensor_offset" to make it more accurate. The value was
> determined by comparing the unadjusted value of admtemp with the value
> shown in the BIOS.  In my case the setting in /etc/sysctl.conf is:
>
>   dev.amdtemp.0.sensor_offset=24
>
> A room thermometer was also helpful to measure the difference by
> comparing the difference between the room temperature and the BIOS
> after the CPU was placed under load.
>
> To read the value I then bound the F2-key in csh.cshrc file as follows:
>
>    bindkey -c "^[OQ" 'sysctl -e dev.amdtemp.0.core0'
>
> The results of the reading are not as accurate as I would like but are
> an improvement.
>
>      Cheers ...                                 __o
>                                               _ \<,_
>      Marek                                   (+)/ (+)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

P.S. Is there a way to set this on the fly, w/o a reboot ? TIA :-) ....

-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?5554ABEF.4070300>