mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
18 lines
351 B
Plaintext
18 lines
351 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|