CHCPU(8) | System Administration | CHCPU(8) |
chcpu - configure CPUs
chcpu -c|-d|-e|-g cpu-list
chcpu -p mode
chcpu -r|-h|-V
chcpu can modify the state of CPUs. It can enable or disable CPUs, scan for new CPUs, change the CPU dispatching mode of the underlying hypervisor, and request CPUs from the hypervisor (configure) or return CPUs to the hypervisor (deconfigure).
Some options have a cpu-list argument. Use this argument to specify a comma-separated list of CPUs. The list can contain individual CPU addresses or ranges of addresses. For example, 0,5,7,9-11 makes the command applicable to the CPUs with the addresses 0, 5, 7, 9, 10, and 11.
-c, --configure cpu-list
-d, --disable cpu-list
-e, --enable cpu-list
-g, --deconfigure cpu-list
-p, --dispatch mode
horizontal
vertical
-r, --rescan
-h, --help
-V, --version
chcpu has the following exit status values:
0
1
64
Heiko Carstens <heiko.carstens@de.ibm.com>
Copyright IBM Corp. 2011
For bug reports, use the issue tracker at <https://github.com/util-linux/util-linux/issues>.
The chcpu command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.
2022-05-11 | util-linux 2.38.1 |