CPU temperature monitoring trouble

Status
Not open for further replies.

adelejjeh

Cadet
Joined
Apr 1, 2013
Messages
3
Hello All,

I'm new to freeNAS so please bare with me. I have an old desktop lying around, its a pentium 4, 3.6GHz, so I decided to try to make it a NAS using freeNAS. I wanted to monitor my cpu temp, so searching over the internet I found that the "sysctl -a" command should give me the cpu temperature. However, I tried it with "grep temp" and all the other formats that I found online but it seems as if the command isn't returning my cpu temperature. All I get when I enter "sysctl -a | grep temp" is some information related to ipv6 adresses. Is there any application that I can install or something? I would appreciate any help.

Regards
Adel
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I don't have any idea what your problem is.. when I do sysctl a | grep temp I get:

Code:
net.inet6.ip6.use_tempaddr: 0
net.inet6.ip6.temppltime: 86400
net.inet6.ip6.tempvltime: 604800
net.inet6.ip6.prefer_tempaddr: 0
hw.usb.template: 0
dev.cpu.0.coretemp.delta: 52
dev.cpu.0.coretemp.resolution: 1
dev.cpu.0.coretemp.tjmax: 95.0C
dev.cpu.0.coretemp.throttle_log: 0
dev.cpu.0.temperature: 43.0C
dev.cpu.1.coretemp.delta: 48
dev.cpu.1.coretemp.resolution: 1
dev.cpu.1.coretemp.tjmax: 95.0C
dev.cpu.1.coretemp.throttle_log: 0
dev.cpu.1.temperature: 47.0C
dev.cpu.2.coretemp.delta: 47
dev.cpu.2.coretemp.resolution: 1
dev.cpu.2.coretemp.tjmax: 95.0C
dev.cpu.2.coretemp.throttle_log: 0
dev.cpu.2.temperature: 48.0C
dev.cpu.3.coretemp.delta: 47
dev.cpu.3.coretemp.resolution: 1
dev.cpu.3.coretemp.tjmax: 95.0C
dev.cpu.3.coretemp.throttle_log: 0
dev.cpu.3.temperature: 48.0C
dev.coretemp.0.%desc: CPU On-Die Thermal Sensors
dev.coretemp.0.%driver: coretemp
dev.coretemp.0.%parent: cpu0
dev.coretemp.1.%desc: CPU On-Die Thermal Sensors
dev.coretemp.1.%driver: coretemp
dev.coretemp.1.%parent: cpu1
dev.coretemp.2.%desc: CPU On-Die Thermal Sensors
dev.coretemp.2.%driver: coretemp
dev.coretemp.2.%parent: cpu2
dev.coretemp.3.%desc: CPU On-Die Thermal Sensors
dev.coretemp.3.%driver: coretemp
dev.coretemp.3.%parent: cpu3


I assume you don't get any temps if you do:

Code:
sysctl -a |egrep -E "cpu\.[0-9]+\.temp"


My first guess is your motherboard doesn't support reading core temps in FreeBSD.
 

adelejjeh

Cadet
Joined
Apr 1, 2013
Messages
3
I don't have any idea what your problem is.. when I do sysctl a | grep temp I get:

Code:
net.inet6.ip6.use_tempaddr: 0
net.inet6.ip6.temppltime: 86400
net.inet6.ip6.tempvltime: 604800
net.inet6.ip6.prefer_tempaddr: 0
hw.usb.template: 0
dev.cpu.0.coretemp.delta: 52
dev.cpu.0.coretemp.resolution: 1
dev.cpu.0.coretemp.tjmax: 95.0C
dev.cpu.0.coretemp.throttle_log: 0
dev.cpu.0.temperature: 43.0C
dev.cpu.1.coretemp.delta: 48
dev.cpu.1.coretemp.resolution: 1
dev.cpu.1.coretemp.tjmax: 95.0C
dev.cpu.1.coretemp.throttle_log: 0
dev.cpu.1.temperature: 47.0C
dev.cpu.2.coretemp.delta: 47
dev.cpu.2.coretemp.resolution: 1
dev.cpu.2.coretemp.tjmax: 95.0C
dev.cpu.2.coretemp.throttle_log: 0
dev.cpu.2.temperature: 48.0C
dev.cpu.3.coretemp.delta: 47
dev.cpu.3.coretemp.resolution: 1
dev.cpu.3.coretemp.tjmax: 95.0C
dev.cpu.3.coretemp.throttle_log: 0
dev.cpu.3.temperature: 48.0C
dev.coretemp.0.%desc: CPU On-Die Thermal Sensors
dev.coretemp.0.%driver: coretemp
dev.coretemp.0.%parent: cpu0
dev.coretemp.1.%desc: CPU On-Die Thermal Sensors
dev.coretemp.1.%driver: coretemp
dev.coretemp.1.%parent: cpu1
dev.coretemp.2.%desc: CPU On-Die Thermal Sensors
dev.coretemp.2.%driver: coretemp
dev.coretemp.2.%parent: cpu2
dev.coretemp.3.%desc: CPU On-Die Thermal Sensors
dev.coretemp.3.%driver: coretemp
dev.coretemp.3.%parent: cpu3


I assume you don't get any temps if you do:

Code:
sysctl -a |egrep -E "cpu\.[0-9]+\.temp"


My first guess is your motherboard doesn't support reading core temps in FreeBSD.

I only get the first five lines. And ya, when I use the second command I get nothing. What's the solution?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I only get the first five lines. And ya, when I use the second command I get nothing. What's the solution?

Try a different motherboard? Maybe update your BIOS? It should work. My guess is your hardware doesn't support reading the CPU temps from FreeBSD.
 

Stephens

Patron
Joined
Jun 19, 2012
Messages
496
It'd be a lot simpler to diagnose if he'd just share which motherboard he has. I found out awhile back via google it didn't work for the E35M1-I motherboard I have. It was an "AMD thing" (yes, you can add that to your list :) ).
 

tingo

Contributor
Joined
Nov 5, 2011
Messages
137
Motherboards with Pentium 4's on them tend to have unusual or none built-in temperature monitoring.
Is your machine hot? If not, just go on without monitoring the CPU temperature.
 

adelejjeh

Cadet
Joined
Apr 1, 2013
Messages
3
Hey guyz, sorry but I've been off the grid for a while. I've been having problems with my phone and I was busy solving them. Anyway, my motherboard is an intel D946GZIS desktop board. As I said, this is an old system lying around.

Motherboards with Pentium 4's on them tend to have unusual or none built-in temperature monitoring.
Is your machine hot? If not, just go on without monitoring the CPU temperature.

Actually, the reason I want to monitor the temperature is cause the bios hardware monitor gave me a temperature reaching more than 90 degrees. I bought a new fan and installed it, the temp now is reaching the high 80s. I don't know if it's normal to reach such temperatures in the BIOS that's why I wanted to monitor the system during FreeNAS operation.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Is this 90C or 90F? Anything above 80C is dangerous for the CPU. In the BIOS I'd expect temps in the 35-40C. If you are getting anything above 45C you have inadequate cooling for the CPU. May be improperly installed, the CPU heatsink compound may not be properly applied, etc.
 

mammuthus

Cadet
Joined
Jan 26, 2016
Messages
3
Code:
[root@freenas ~]# uname -a
FreeBSD freenas.local 9.3-RELEASE-p28 FreeBSD 9.3-RELEASE-p28 #0 r288272+f229c79
: Sat Dec 12 11:58:01 PST 2015 root@build3.ixsystems.com:/tank/home/stable-b
uilds/FN/objs/os-base/amd64/tank/home/stable-builds/FN/FreeBSD/src/sys/FREENAS.a
md64 amd64 


Guys, how can I get CPU temp?
sysctl -a | grep temp returns nothing about CPU:
1231.PNG


HW is GA-G31M, Intel E5400
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Hardware might not be supported.
 

Blackie

Dabbler
Joined
Aug 10, 2017
Messages
14
Status
Not open for further replies.
Top