Jump to content

Odroid XU4 - CPU temp discrepancy


akovia

Recommended Posts

I'm curious how the CPU temp value is calculated on the MOTD screen when ssh'ing in. 

 

Mine is showing 56°C, but if I run the commands:

# cat /sys/devices/virtual/thermal/thermal_zone*/temp
45000
44000
48000
44000
41000

# armbianmonitor -m
Stop monitoring using [ctrl]-[c]
Time       big.LITTLE   load %cpu %sys %usr %nice %io %irq   CPU  C.St.

12:16:28:  600/ 600MHz  0.17   1%   0%   0%   0%   0%   0% 45.0°C  0/3


Thanks

 

Link to comment
Share on other sites

38 minutes ago, Igor said:

Thanks @Igor

 

I guess it's over my head. It looks like it's reading from /etc/armbianmonitor/datasources/soctemp which is the same value I was getting from armbianmonitor.

Seems I can just ignore the motd value safely.

Link to comment
Share on other sites

7 hours ago, rooted said:

When you are logging into SSH it spins the CPU up for a second which generates heat, after logging in the CPU usage spike goes down as does the temperature.

 

Sounds reasonable but don't think that's it.

If you run these commands back to back after being logged in, you can see the difference.

 

root@odroidxu4:~# cat /etc/armbianmonitor/datasources/soctemp 
44000
root@odroidxu4:~# cat /var/run/motd.dynamic
  ___      _           _     _  __  ___   _ _  _   
 / _ \  __| |_ __ ___ (_) __| | \ \/ / | | | || |  
| | | |/ _` | '__/ _ \| |/ _` |  \  /| | | | || |_ 
| |_| | (_| | | | (_) | | (_| |  /  \| |_| |__   _|
 \___/ \__,_|_|  \___/|_|\__,_| /_/\_\\___/   |_|  
                                                   

Welcome to ARMBIAN 5.60 stable Debian GNU/Linux 9 (stretch) 4.14.69-odroidxu4   
System load:   0.01 0.02 0.00      Up time:       12:34 hours        
Memory usage:  7 % of 1996MB     IP:            
CPU temp:      52°C          

    
 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines