CPU: disable enable core
Jump to navigation
Jump to search
You can dynamically disable CPUs via /sys/devices/system/cpu/cpuN/online, for example to disable CPU 1, use:
echo 0 | sudo tee /sys/devices/system/cpu/cpu1/online
and to re-enable, use:
echo 1 | sudo tee /sys/devices/system/cpu/cpu1/online