우분투에서 CPU 온도 확인하기

우분투에서 CPU 온도 볼려고 하니 패키지를 하나 설치해야 한다고 한다.
그래서 설치함.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sudo apt install lm-sensors
sudo apt install lm-sensors
sudo apt install lm-sensors

여기서 끝은 아니고 센서 설정을 해야 한다.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sudo sensors-detect
sudo sensors-detect
sudo sensors-detect

이것저것 물어보는데 전부 Yes 해주면 된다고 생각하면 된다.
죄다 센서 타입 검색할까요 물어보는것.

실제 온도값은

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
watch sensors
watch sensors
watch sensors

이렇게 명령을 주면 나온다.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
Every 2.0s: sensors Sun May 7 13:20:41 2017
acpitz-virtual-0
Adapter: Virtual device
temp1: +48.0°C (crit = +120.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +45.0°C (high = +105.0°C, crit = +105.0°C)
Core 1: +45.0°C (high = +105.0°C, crit = +105.0°C)
Core 2: +43.0°C (high = +105.0°C, crit = +105.0°C)
Core 3: +43.0°C (high = +105.0°C, crit = +105.0°C)
Every 2.0s: sensors Sun May 7 13:20:41 2017 acpitz-virtual-0 Adapter: Virtual device temp1: +48.0°C (crit = +120.0°C) coretemp-isa-0000 Adapter: ISA adapter Core 0: +45.0°C (high = +105.0°C, crit = +105.0°C) Core 1: +45.0°C (high = +105.0°C, crit = +105.0°C) Core 2: +43.0°C (high = +105.0°C, crit = +105.0°C) Core 3: +43.0°C (high = +105.0°C, crit = +105.0°C)
Every 2.0s: sensors                                     Sun May  7 13:20:41 2017

acpitz-virtual-0
Adapter: Virtual device
temp1:        +48.0°C  (crit = +120.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +45.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:       +45.0°C  (high = +105.0°C, crit = +105.0°C)
Core 2:       +43.0°C  (high = +105.0°C, crit = +105.0°C)
Core 3:       +43.0°C  (high = +105.0°C, crit = +105.0°C)

watch 종료는 Ctrl+C


Comments

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다