tldr/pages/linux/chcpu.md

13 lines
228 B
Markdown
Raw Normal View History

2019-05-01 15:58:23 +01:00
# chcpu
> Enable/disable a system's CPUs.
> More information: <https://manned.org/chcpu>.
2019-05-01 15:58:23 +01:00
- Disable one or more CPUs by their IDs:
2019-05-01 15:58:23 +01:00
`chcpu -d {{1,3}}`
- Enable one or more ranges of CPUs by their IDs:
2019-05-01 15:58:23 +01:00
`chcpu -e {{1-3,5-7}}`