cpuctl(8)

cpuctl8

Program to control cpus

Usage

cpuctl command [arguments]

Overview

The cpuctl command can be used to control and inspect the state of CPUs in the system.

The first argument, command, specifies the action to take. Valid commands are:

list

For each CPU in the system, display the current state and time of the last state change.

offline cpu [cpu ...]

Set the specified CPUs off line.

At least one CPU in the system must remain on line.

online cpu [cpu ...]

Set the specified CPUs on line.

Examples

Run

cpuctl offline 2

and then

cpuctl list

The output should reflect the fact that CPU#2 was taken offline.

Releases

Unchanged in 45 releases since macOS 10.15.

  1. 10.15–26.5

From system_cmds 1042.120.1 in macOS 26.5. Parsed by carta from the page's mdoc source.