## cpu core #7 Disable ##
echo 0 > /sys/devices/system/cpu/cpu7/online
## cpu core #7 Enable ##
echo 1 > /sys/devices/system/cpu/cpu7/online
## 확인 방법 ##
lscpu 또는 cat /proc/cpuinfo
### 명령어 실행 결과 및 확인 ####
############################
# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 60
Model name: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Stepping: 3
CPU MHz: 3880.914
BogoMIPS: 6784.67
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
# echo 0 > /sys/devices/system/cpu/cpu7/online
# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-6
Off-line CPU(s) list: 7
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 60
Model name: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
Stepping: 3
CPU MHz: 3820.218
BogoMIPS: 6784.67
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-6
############################
'Linux > CentOS & RHEL' 카테고리의 다른 글
[Network] MSS / MTU 설명 (0) | 2020.11.05 |
---|---|
[Tip] RHEL 7.x RunLevel 변경 (0) | 2020.10.29 |
[Tip] FTP 전용 계정 생성 (0) | 2020.10.29 |
[Tip] CPU 장착갯수 / core / Hyperthreading 확인(lscpu) (0) | 2020.10.29 |
[Multipath] 멀티패스 다운 시 FC카드 Port 확인 (0) | 2020.10.14 |