Linux‎ > ‎

Disable/Enable CPU Cores

Disable/Enable CPU Core on Linux from the command-line

For example, disable cpu1 by:

echo 0 > /sys/devices/system/cpu/cpu1/online

And re-enable it by:

echo 1 > /sys/devices/system/cpu/cpu1/online

Comments