방법 1: cpuinfo[편집]
[root@zetawiki ~]# cat /proc/cpuinfo | egrep 'siblings|cpu cores' | head -2
siblings : 8
cpu cores : 4
- → siblings가 cpu cores의 2배이므로 하이퍼스레딩 활성된 것임
방법 2: dmidecode #1[편집]
[root@zetawiki ~]# dmidecode -t processor | egrep 'Core Count|Thread Count' | head -2
Core Count: 4
Thread Count: 8
- → Thread Count가 Core Count의 2배이므로 하이퍼스레딩 활성된 것임
방법 3: dmidecode #2[편집]
dmidecode -t processor | grep HTT
- 실행예시 (활성화됨)
[root@zetawiki ~]# dmidecode -t processor | grep HTT | head -1
HTT (Hyper-threading technology)
- 실행예시 (비활성화됨)
[root@zetawiki2 ~]# dmidecode -t processor | grep HTT | head -1
HTT (Multi-threading)
'IBM PowerLinux' 카테고리의 다른 글
Linux에서 소프트웨어 RAID 구성 (0) | 2017.02.21 |
---|---|
linux scan device (0) | 2016.10.22 |
Hot add, remove, rescan of SCSI devices on Linux (0) | 2016.07.27 |
Linux Monitoring (0) | 2016.05.26 |
Linux CPU information 정보 확인 (0) | 2016.05.26 |