Ubuntu system to view CPU and GPU temperature in real time:
Method 1: lm-sensors
install lm-sensors
:
sudo apt install lm-sensors
Check the temperature of CPU and GPU in real time (refresh every 1s):
watch -n 1 sensors
Among them, Core 0, 4, 8... are the cores of the CPU, and the first temperature value is the current real-time temperature, high=100℃
which means that the CPU temperature is high if it exceeds 100 °C, and crit=100℃
the CPU will burn out if it exceeds 100 °C.
Method 2: psensor
psensor can visually display the temperature of CPU and GPU in real time
sudo apt-get install psensor
You can open it by typing in the terminal psensor
, or finding the psensor icon in the application.
reference link
[1] Ice0310. View CPU and GPU temperature under Ubuntu system [EB/OL]. https://blog.csdn.net/bingxinyang123/article/details/121840620, 2021-12-09/2023-03-16.
[ 2] Anonymous user. The sensors command to view the cpu temperature, what does high and crit in brackets mean? [EB/OL]. https://zhidao.baidu.com/question/565134471246771964.html, 2019-10-28/2023 -03-17.