본문 바로가기
기타/Linux

[Ubuntu] 우분투 18.04 에서 CPU 온도 확인하기

by makepluscode 2022. 5. 24.
반응형

우분투 18.04 CPU 온도 확인하기

리눅스 CPU 온도 확인하는 방법

lm-sensors 설치하기

우분투 18.04 에서 apt 명령어로 lm-sensors 를 설치한다.

$ sudo apt install lm-sensors

환경설정을 위해 sensor-detect 를 설치하고 온도를 확인하는 센서에 yes 를 입력한다.

$ sudo sensors-detect

lm-sensors 실행하기

sensors 명령어로 각 부품의 상태와 온도를 확인할 수 있다.

$ sensors
nct6791-isa-0290
Adapter: ISA adapter
Vcore:                  +0.54 V  (min =  +0.00 V, max =  +1.74 V)
in1:                    +1.74 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
AVCC:                   +3.44 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
+3.3V:                  +3.44 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in4:                    +1.01 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in5:                    +1.06 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in6:                    +1.08 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
3VSB:                   +3.44 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
Vbat:                   +3.20 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in9:                    +1.06 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in10:                   +0.00 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in11:                   +1.02 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in12:                   +1.21 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in13:                   +1.27 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
in14:                   +1.05 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
fan1:                     0 RPM  (min =    0 RPM)
fan2:                  3237 RPM  (min =    0 RPM)
fan3:                     0 RPM  (min =    0 RPM)
fan4:                   826 RPM  (min =    0 RPM)
fan5:                     0 RPM  (min =    0 RPM)
SYSTIN:                 +42.0°C  (high = +36.0°C, hyst = +35.0°C)  ALARM  sensor = thermistor
CPUTIN:                 +61.0°C  (high = +36.0°C, hyst = +35.0°C)  sensor = thermistor
AUXTIN0:                +22.0°C    sensor = thermistor
AUXTIN1:               +127.0°C    sensor = thermistor
AUXTIN2:                +25.0°C    sensor = thermistor
AUXTIN3:                +23.0°C    sensor = thermistor
PECI Agent 0:           +79.5°C  (high = +36.0°C, hyst = +35.0°C)  ALARM
                                 (crit = +100.0°C)
PCH_CHIP_CPU_MAX_TEMP:   +0.0°C
PCH_CHIP_TEMP:           +0.0°C
PCH_CPU_TEMP:            +0.0°C
intrusion0:            ALARM
intrusion1:            ALARM
beep_enable:           disabled

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +80.0°C  (high = +82.0°C, crit = +100.0°C)
Core 0:        +80.0°C  (high = +82.0°C, crit = +100.0°C)
Core 1:        +76.0°C  (high = +82.0°C, crit = +100.0°C)
Core 2:        +79.0°C  (high = +82.0°C, crit = +100.0°C)
Core 3:        +80.0°C  (high = +82.0°C, crit = +100.0°C)
Core 4:        +77.0°C  (high = +82.0°C, crit = +100.0°C)
Core 5:        +79.0°C  (high = +82.0°C, crit = +100.0°C)

부품의 온도 모니터링을 원하면 다음 명령어를 활용한다.

$ watch sensors

관련자료

이전 커널의 경우 버전을 사용하려면 lm-sensors 버전 2를 사용해야 합니다.

https://github.com/lm-sensors/lm-sensors

 

GitHub - lm-sensors/lm-sensors: lm-sensors repository

lm-sensors repository. Contribute to lm-sensors/lm-sensors development by creating an account on GitHub.

github.com

반응형