tldr/pages/linux/chcpu.md

185 B

chcpu

Enable/disable a system's CPUs.

  • Disable CPUs via a list of CPU ID numbers:

chcpu -d {{1,3}}

  • Enable a set of CPUs via a range of CPU ID numbers:

chcpu -e {{1-10}}