how to determine the temperature of your CPU?

illoai at gmail.com illoai at gmail.com
Wed Jul 25 15:16:22 UTC 2012


On 25 July 2012 07:55, Владислав Продан <universite at ukr.net> wrote:
>
>
> CPU: AMD FX(tm)-8120 Eight-Core Processor            (3110.49-MHz K8-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x600f12  Family = 15  Model = 1  Stepping = 2
>
> # kldstat -v | grep temp
>                 319 cpu/coretemp
>                 311 hostb/amdtemp
>
>

% sysctl dev.amdtemp
&
% sysctl hw.acpi.thermal
& the other stuff is probably best extracted via:
% sysctl dev.cpu | grep temperature
(as you can't use wildcards in sysctl oids, bleh)

For my dual core machine, I use:
% sysctl hw.acpi.thermal.tz0.temperature dev.amdtemp.0.sensor0 \
dev.amdtemp.0.sensor1 dev.cpu.0.temperature dev.cpu.1.temperature

in a script to quickly see all of my temperature sensors.  You likely have
many more.

-- 
--


More information about the freebsd-questions mailing list