The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 3,635β€…    Votes:  2β€…
Tags: linux   sensors  
Link: πŸ” See Original Answer on Unix & Linux ⧉ πŸ”—

URL: https://unix.stackexchange.com/q/460670
Title: Which temperature belongs to which sensor?
ID: /2018/08/05/Which-temperature-belongs-to-which-sensor_
Created: August 5, 2018    Edited:  November 13, 2022
Upload: September 15, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


This one-liner displays temperature:

paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1Β°C/'

Here are the results on Intel Skylake i-7 6700 HQ:

INT3400 Thermal  20.0Β°C
pch_skylake      91.0Β°C
SEN1             67.0Β°C
B0D4             61.0Β°C
SEN2             60.0Β°C
SEN3             68.0Β°C
SEN4             71.0Β°C
x86_pkg_temp     63.0Β°C

The packages sensors gets it’s information from the kernel /sys/class/... directories. You can get all info there which sensors is massaging to reveal to you.

NOTE: pch_skylake temperature is abnormally high on most machines. A short google search confirms this.

⇧ No Audio Over HDMI on NVIDIA GeForce GTX 1050 Ti Grub: reboot to specific kernel  β‡©