Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2012 11:16:20 -0400
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        =?UTF-8?B?0JLQu9Cw0LTQuNGB0LvQsNCyINCf0YDQvtC00LDQvQ==?= <universite@ukr.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to determine the temperature of your CPU?
Message-ID:  <CAHHBGkrU0gsDHjkmaQLXNyh1QiQFo48cZOBJJVYbmbVn5dMprQ@mail.gmail.com>
In-Reply-To: <63031.1343217300.9705048765098688512@ffe15.ukr.net>
References:  <63031.1343217300.9705048765098688512@ffe15.ukr.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 25 July 2012 07:55, Владислав Продан <universite@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.

-- 
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHHBGkrU0gsDHjkmaQLXNyh1QiQFo48cZOBJJVYbmbVn5dMprQ>