Date: Tue, 13 Nov 2018 17:22:19 +0300 (MSK) From: "Igor V. Ruzanov" <igorr@pochta-mx.canmos.ru> To: Thomas Mueller <mueller6722@twc.com> Cc: freebsd-questions@freebsd.org Subject: Re: Program to find CPU temperature? Message-ID: <alpine.BSF.2.00.1811131718510.1036@pochta.canmos.ru> In-Reply-To: <20181113115825.80447.qmail@mail.canmos.ru> References: <20181113115825.80447.qmail@mail.canmos.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
The modern way to check CPU temperatures (mostly for Xeon-based servers), its just to load kernel module 'coretemp': kldload coretemp And see the temperatures via sysctl interface: sysctl -a | grep tempe dev.cpu.0.temperature: 31.0C dev.cpu.1.temperature: 31.0C dev.cpu.2.temperature: 33.0C dev.cpu.3.temperature: 33.0C dev.cpu.4.temperature: 29.0C dev.cpu.5.temperature: 29.0C dev.cpu.6.temperature: 32.0C dev.cpu.7.temperature: 32.0C dev.cpu.8.temperature: 30.0C dev.cpu.9.temperature: 30.0C dev.cpu.10.temperature: 29.0C dev.cpu.11.temperature: 29.0C dev.cpu.12.temperature: 22.0C dev.cpu.13.temperature: 22.0C dev.cpu.14.temperature: 22.0C dev.cpu.15.temperature: 22.0C dev.cpu.16.temperature: 22.0C dev.cpu.17.temperature: 22.0C dev.cpu.18.temperature: 24.0C dev.cpu.19.temperature: 24.0C dev.cpu.20.temperature: 24.0C dev.cpu.21.temperature: 24.0C dev.cpu.22.temperature: 28.0C dev.cpu.23.temperature: 28.0C |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?alpine.BSF.2.00.1811131718510.1036>