CHCPU(8) | System Administration | CHCPU(8) |
NAME
chcpu - configure CPUs
SYNOPSIS
chcpu -c|-d|-e|-g cpu-list
chcpu -p mode
chcpu -r|-h|-V
DESCRIPTION
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.
OPTIONS
-c, --configure cpu-list
-d, --disable cpu-list
-e, --enable cpu-list
-g, --deconfigure cpu-list
chcpu -g is not supported on IBM z/VM, CPUs are always in a configured.
-p, --dispatch mode
horizontal
vertical
-r, --rescan
-h, --help
-V, --version
EXIT STATUS
chcpu has the following exit status values:
0
1
64
AUTHORS
Heiko Carstens <heiko.carstens@de.ibm.com>
COPYRIGHT
Copyright IBM Corp. 2011
SEE ALSO
REPORTING BUGS
For bug reports, use the issue tracker at https://github.com/util-linux/util-linux/issues.
AVAILABILITY
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/.
2024-07-04 | util-linux 2.40.2 |