NAME
chcpu - configure CPUs
SYNOPSIS
chcpu-c|-d|-e|-gcpu-list
chcpu-pmode
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, --configurecpu-list
-d, --disablecpu-list
-e, --enablecpu-list
-g, --deconfigurecpu-list
chcpu -g is not supported on IBM z/VM, CPUs are always in a configured state.
if chcpu -g is supported, any disabled CPUs should be deconfigured to inform the hypervisor that these CPUs won’t be used, avoiding potential performance penalties.
-p, --dispatchmode
horizontal
vertical
-r, --rescan
-h, --help
-V, --version
EXIT STATUS
chcpu has the following exit status values:
0
1
64
AUTHORS
Heiko Carstens <[email protected]>
COPYRIGHT
Copyright IBM Corp. 2011
SEE ALSO
lscpu(1)
REPORTING BUGS
For bug reports, use the issue tracker <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/>.