Sodamhan.com

TL;DR

chcpu

Enable/disable a system’s CPUs. More information: https://manned.org/chcpu.

  • Disable one or more CPUs by their IDs:

chcpu -d 1,3

  • Enable one or more ranges of CPUs by their IDs:

chcpu -e 1-3,5-7

This document was created using the contents of the tldr project.