Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2018 13:08:35 +0100
From:      Philipp Vlassakakis <freebsd-en@lists.vlassakakis.de>
To:        Thomas Mueller <mueller6722@twc.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Program to find CPU temperature?
Message-ID:  <E0390874-7894-48C8-BD56-E2BD3BA9A69B@lists.vlassakakis.de>
In-Reply-To: <20181113115901.DB2A243C26E2@dd14614.kasserver.com>
References:  <20181113115901.DB2A243C26E2@dd14614.kasserver.com>

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

Hi,

Did you load the corresponding kernel module? (coretemp = Intel CPU / amdtemp = AMD CPU)

It should be possible to fetch the temperature via sysctl.

Regards,
Philipp

> On 13. Nov 2018, at 12:52, Thomas Mueller <mueller6722@twc.com> wrote:
> 
> I am looking for a program to find the CPU and perhaps system temperature, either in base system or ports.
> 
> I tried "sysctl -a | grep "temp" (or temperature) and couldn't find anything.
> 
> NetBSD has envstat in base system:
> 
>                                     Current  CritMax  WarnMax  WarnMin  CritMin  Unit
> [acpifan0]
>                            state:     FALSE
> [acpifan1]
>                            state:     FALSE
> [acpifan2]
>                            state:      TRUE
> [acpifan3]
>                            state:     FALSE
> [acpifan4]
>                            state:     FALSE
> [acpitz0]
>                      temperature:    27.800  106.000                             degC
> [acpitz1]
>  cpu0/cpu1/cpu2/cpu3/cpu4/cpu5/c:    29.800  106.000                             degC
> [coretemp0]
>                 cpu0 temperature:    56.000                                      degC
> [coretemp1]
>                 cpu1 temperature:    59.000                                      degC
> [coretemp2]
>                 cpu2 temperature:    57.000                                      degC
> [coretemp3]
>                 cpu3 temperature:    55.000                                      degC
> 
> 
> but there appears to be nothing like that in FreeBSD.
> 
> This is the computer without the overheating problem.  Other computer, with the overheating problem, makes me wonder if the heatsink itself, as opposed to the CPU fan, is no longer functional.
> 
> Otherwise, perhaps something could be going amiss on the CPU or motherboard.
> 
> Tom
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0390874-7894-48C8-BD56-E2BD3BA9A69B>