chcpu

Enable/disable a system's CPUs. More information: <https://manned.org/chcpu>.

Install

All systems
curl cmd.cat/chcpu.sh
Debian Debian
apt-get install util-linux
Ubuntu
apt-get install util-linux
Alpine
apk add util-linux
Arch Arch Linux
pacman -S util-linux
image/svg+xml Kali Linux
apt-get install util-linux
CentOS
yum install util-linux
Fedora
dnf install util-linux
Windows (WSL2)
sudo apt-get update sudo apt-get install util-linux
OS X
brew install util-linux
Raspbian
apt-get install util-linux
Docker
docker run cmd.cat/chcpu chcpu powered by Commando

Enable/disable a system's CPUs. More information: <https://manned.org/chcpu>.

  • 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

© tl;dr; authors and contributors