HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandchcpucpusclienablemoredisablesystem
linux

Problem

How to use the chcpu command: Enable/disable a system's CPUs. More information: <https://manned.org/chcpu>.

Solution

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

Disable one or more CPUs by their IDs:
chcpu {{[-d|--disable]}} {{1,3}}


Enable one or more ranges of CPUs by their IDs:
chcpu {{[-e|--enable]}} {{1-3,5-7}}

Code Snippets

Disable one or more CPUs by their IDs

chcpu {{[-d|--disable]}} {{1,3}}

Enable one or more ranges of CPUs by their IDs

chcpu {{[-e|--enable]}} {{1-3,5-7}}

Context

tldr-pages: linux/chcpu

Revisions (0)

No revisions yet.