0. CPU 정보 확인 ( CPU information )
> cat /proc/cpuinfo

1. CPU 코어 전체 개수 확인( CPU Core Total number )
> grep -c processor /proc/cpuinfo

2. 물리 CPU 수 확인( physical CPU number )
> grep "physical id" /proc/cpuinfo | sort -u | wc -l

3. CPU당 물리 코어 수 확인 (CPU per physical Core number )
> grep "cpu cores" /proc/cpuinfo | tail -1

출처: http://nota.tistory.com/41 [nota's story]


How to get CPU temperature on CentOS 7

# install

$ sudo yum install -y lm_sensors

# config
$ sudo sensors-detect

Usage:

$sensors

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +63.0°C  (high = +95.0°C, crit = +105.0°C)
Core 0:         +59.0°C  (high = +95.0°C, crit = +105.0°C)
Core 1:         +60.0°C  (high = +95.0°C, crit = +105.0°C)
Core 2:         +56.0°C  (high = +95.0°C, crit = +105.0°C)
Core 3:         +42.0°C  (high = +95.0°C, crit = +105.0°C)
Core 4:         +43.0°C  (high = +95.0°C, crit = +105.0°C)
Core 5:         +60.0°C  (high = +95.0°C, crit = +105.0°C)
Core 6:         +60.0°C  (high = +95.0°C, crit = +105.0°C)
Core 7:         +64.0°C  (high = +95.0°C, crit = +105.0°C)

iwlwifi-virtual-0
Adapter: Virtual device
temp1:            N/A  


+ Recent posts