High CPU temperature can explain throttling, sudden shutdowns, loud fan behavior, or workloads that slow down after a few minutes. Checking the current reading in Linux gives a hardware signal before changing cooling, firmware, or workload settings.
Most Linux systems expose hardware-monitoring data through kernel drivers under /sys, and the sensors command from lm-sensors turns that telemetry into readable package and core temperatures. Depending on the processor and driver, the relevant lines may appear as Package id 0, Core 0, Tctl, or Tdie instead of a single generic CPU temperature label.
Some systems do not export usable CPU thermal data even when sensors is installed and working. Containers, many virtual machines, and some laptop firmware builds can return only battery or generic ACPI readings, or report No sensors found!, which means the platform is not exposing CPU telemetry and the check has to move to hardware that does.
$ sudo apt install lm-sensors
On Fedora and openSUSE, the package is usually named lm_sensors. Sensor probing with sensors-detect is a separate hardware setup step and should only be run where hardware probing is acceptable.
Related: How to view thermal information in Linux
$ sensors coretemp-isa-0000 Adapter: ISA adapter Package id 0: +43.0°C (high = +100.0°C, crit = +100.0°C) Core 0: +41.0°C (high = +100.0°C, crit = +100.0°C) Core 1: +42.0°C (high = +100.0°C, crit = +100.0°C)
Look for the package or core lines that represent the processor temperature. On AMD systems, the same reading may appear as Tctl or Tdie.
$ watch -n 2 sensors
Press Ctrl+C to stop the refresh loop. Rising package or core values under load and lower values at idle confirm that the system is exporting live thermal telemetry.
$ sensors BAT0-acpi-0 Adapter: ACPI interface in0: 12.58 V
When the output contains no Package id, Core, Tctl, or Tdie lines, the platform is not exposing usable CPU temperature data. Run the same check on the physical host or on hardware with working hwmon support.
$ sensors No sensors found! Make sure you loaded all the kernel drivers you need. Try sensors-detect to find out which these are.
Containers and some virtual machines return this result because they do not expose host hardware sensors. On a physical system, rerun the check after the required monitoring drivers are loaded or after sensor detection has been reviewed.