June 27, 201313 yr Hello community New to unraid, spent the last weekend setting it up and i like it a lot. About to get a Plus-license for it. Anyways, i was wondering if there is a way to correctly display the cpu temperature when doing sensors at the cli. I get this : Sensor info (from /usr/bin/sensors) k10temp-pci-00c3 Adapter: PCI adapter temp1: +5.2 C (high = +70.0 C, crit = +70.0 C) I know my cpu runs at least at 35 degrees celcius so i know this is off. Thank you
June 27, 201313 yr The problem is likely related to the fact that the version of lm_sensors included in unraid is from 3 and a half years ago. The only way to fix it until Tom upgrades the included version it is to install the package for the new version. Add the following package to /boot/extra/ and then either reboot or run "installpkg /boot/extra/lm_sensors-3.3.2-i486-1.txz". http://slackware.cs.utah.edu/pub/slackware/slackware-14.0/slackware/ap/lm_sensors-3.3.2-i486-1.txz
June 27, 201313 yr I'm not sure if it has all the latest sensor information, but I've found the CPU Info in UnMenu to be very accurate. I'd install UnMenu, then look at the CPU Info tab under SysInfo and see if it gives you the correct readings -- I suspect it will.
June 27, 201313 yr I'm not sure if it has all the latest sensor information, but I've found the CPU Info in UnMenu to be very accurate. I'd install UnMenu, then look at the CPU Info tab under SysInfo and see if it gives you the correct readings -- I suspect it will. That's not going to help if you have another piece of software that relies on the output of the sensors command, like the iStat system monitoring plugin.
June 27, 201313 yr Author Installed the package and rebooted and still same output from Unmenu Sensor info (from /usr/bin/sensors) k10temp-pci-00c3 Adapter: PCI adapter temp1: +8.9 C (high = +70.0 C) (crit = +70.0 C, hyst = +69.0 C)
June 27, 201313 yr Author -bash: /usr/sbin/sensors-detect: /usr/bin/perl: bad interpreter: No such file or directory I found a version 3-3-4 of lm sensors but i dont think its compiled tho... https://www.archlinux.org/packages/extra/x86_64/lm_sensors/
June 27, 201313 yr Install the perl package. http://slackware.cs.utah.edu/pub/slackware/slackware-14.0/slackware/d/perl-5.16.1-i486-1.txz
June 27, 201313 yr Author Thank you very much, after going thru the sensors-detect wizard and running the commands at the end i can see cpu , voltage, fans etc. Now last question, do i need to do something so it stays working even after a reboot? Thank you again
June 27, 201313 yr After you went through the wizard it should have given you a list of sensors. i.e. "modprobe coretemp" etc. Add a line to your go script for each sensor it listed, like so: modprobe <sensor1> modprobe <sensor2> modprobe <sensor3> You can also remove the perl package now if you don't plan on using it for anything else. It was only needed to run that sensors-detect script that one time. Now that you know the sensors you don't need to run sensors-detect again unless you get new hardware.
Archived
This topic is now archived and is closed to further replies.