Post History
The Linux kernel exposes that via the Thermal Sysfs. You can then print the temperatures with cat /sys/class/thermal/thermal_zone*/temp You are better off, however, using tools that collate sen...
Answer
#1: Initial revision
The Linux kernel exposes that via the [Thermal Sysfs](https://docs.kernel.org/driver-api/thermal/sysfs-api.html#sysfs-attributes-structure). You can then print the temperatures with cat /sys/class/thermal/thermal_zone*/temp You are better off, however, using tools that collate sensors' information. The typical tool is `sensors` from the **lm-sensors** package, but better for visualization is a GUI such as **psensor**. ![Psensor](https://linux.codidact.com/uploads/khk6pznitry4amsr8wyzw8rka1vb) The description of each sensor is often not quite clear though. Reading from some other sources ([1](https://unix.stackexchange.com/questions/756041/why-is-the-result-of-cat-sys-class-thermal-thermal-zone0-temp-0) [2](https://askubuntu.com/questions/1110943/what-do-the-different-thermal-zones-actually-correspond-to)), in general that depends on the manufacturer and installed driver for the corresponding sensors, so it might be worth it checking the manufacturer's resources if you want a cleaner result — but it is likely going to be non-free software. Lenovo, for instance, has a "Lenovo Diagnostic" tool; In section '5.6 Temperature Tool' of [its manual](https://download.lenovo.com/pccbbs/thinkvantage_en/ldiag_4.53.0_linux_user_guide.pdf) you can see that the results are better broken down: ![Lenovo Diagnostic temperature tool](https://linux.codidact.com/uploads/0fh1ou178xp92oba2ad426c4mi00)