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, =D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D1=81=D0=BB=D0=B0=D0=
=B2 =D0=9F=D1=80=D0=BE=D0=B4=D0=B0=D0=BD <universite@ukr.net> wrote:
>
>
> CPU: AMD FX(tm)-8120 Eight-Core Processor            (3110.49-MHz K8-clas=
s CPU)
>   Origin =3D "AuthenticAMD"  Id =3D 0x600f12  Family =3D 15  Model =3D 1 =
 Stepping =3D 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.

--=20
--



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