To check the CPU temperature on an Ubuntu Linux system, you can use the sensors
command. This command displays temperature sensor information for the system, including the CPU temperature.
To check the CPU temperature, open a terminal window and run the sensors
command.
For example:
refal:ot reutturi.comsensors
This will display a list of temperature sensors on the system, along with their current readings.
The output of the sensors
command may vary depending on the hardware and sensors on your system. However, you should see a line with the label CPU Temperature
or something similar, along with the current temperature in degrees Celsius.
For example, the output might look something like this:
coretemp-isa-0000 Adapter: ISA adapter Package id 0: +51.0°C (high = +80.0°C, crit = +100.0°C) Core 0: +50.0°C (high = +80.0°C, crit = +100.0°C) Core 1: +50.0°C (high = +80.0°C, crit = +100.0°C)
In this example, the CPU temperature is listed as +50.0°C
.
It's worth noting that the sensors
command relies on the lm-sensors
package, which may not be installed by default on all systems.