cpuctl
Control and inspect system CPUs from command line. tldr-pages
On several platforms
Several platforms
Control and inspect system CPUs from command line. Note: At least one CPU in the system must always remain online.
Display the current state and time of last state change for each CPU in the system
sudo cpuctl listIdentifySet the specified CPUs offline
sudo cpuctl offline cpu_number1 cpu_number2 ...IdentifySet the specified CPUs online
sudo cpuctl online cpu_number1 cpu_number2 ...Identify