/SHOW-VM-CPU-POOL is used to output the attributes of CPU pools.
The command provides the following information:
Name of the CPU pool as defined with
/CREATE-VM-CPU-POOLThe scheduling procedure
The CPUs in the CPU pool and their state
The VMs assigned to the CPU pool and their multiprocessor level
On SU x86: the static CPU pool
*POOL0, see "Implementation on SU x86"
This command is reserved for the VM2000 administrator.
SHOW-VM-CPU-POOL  | |||||||||||||||||||||||||||||||||||||||||||||
  | |||||||||||||||||||||||||||||||||||||||||||||
CPU-POOL-NAME = 
Determines the CPU pool about which information is to be output.
CPU-POOL-NAME = *ALL
Information about all CPU pools is to be output.
CPU-POOL-NAME = *STDPOOL / <name 1..8>
Name of the CPU pool.
CPU-POOL-NAME = *BY-CPU-IDENTIFICATION(...)
Determines the CPU pool by specifying a CPU contained in the CPU pool.
CPU-IDENTIFICATION = <x-text 1..2>
CPU identifier.
CPU-POOL-NAME = *BY-VM-IDENTIFICATION(...)
Determines the CPU pool by specifying a VM which is assigned to the CPU pool.
VM-IDENTIFICATION = <integer 1..99> / <name 1..8>
Identifies the virtual machine by means of a VM index or VM name.
CPU-POOL-NAME = *BY-VM-GROUP(...)
Determines the CPU pool by specifying a VM group which is assigned to the CPU pool (SU /390).
VM-GROUP-NAME = <name 1..8>
Name of the VM group.
INFORMATION = 
Specifies the output information.
INFORMATION = *CPU
Only information about CPUs contained in the CPU pool.
INFORMATION = *VM
Only information about the virtual machines assigned to the CPU pool.
INFORMATION = *SUMMARY
Summary of the information for *CPU and *VM.
INFORMATION = *ALL
All the information contained in the outputs *CPU and *VM.
Command return codes
(SC2)  | Main code  | Meaning  | 
0  | CMD0001  | Command successfully executed  | 
Output in S variables (in user task)
The INFORMATION operand of the command is used to specify which S variables are to be supplied with values. The following can be specified for INFORMATION:
Notation of command  | Abbreviated form used in table  | 
INFORMATION = *CPU  | 1  | 
Output information  | Name of S variable  | T  | Contents  | Cond.  | 
Name of the CPU pool  | var(*LIST).CPU-POOL  | S  | *STDPOOL  | 1,2,3,4  | 
Scheduling procedure  | var(*LIST).SCHEDULE  | S  | *NONE  | 1,2,3,4  | 
Number of assigned   | var(*LIST).NUM-OF-NORMAL-CPUS.ALL  | I  | <integer 0..64>  | 1,3,4  | 
Number of assigned   | var(*LIST).NUM-OF-EXTRA-CPUS.ALL  | I  | <integer 0..63>  | 1,3,4  | 
Real CPUs in the CPU pool  | var(*LIST).REAL-CPU(*LIST).ID  | S  | <x-text 2..2>  | 1,4  | 
State of real CPUs   | var(*LIST).REAL-CPU(*LIST).STA  | S  | *ATT / *DET /   | 1,4  | 
Type of real CPUs   | var(*LIST).REAL-CPU(*LIST).ATTR  | S  | *NORMAL  | 1,4  | 
Number of assigned   | var(*LIST).NUM-OF-FOREIGN-CPUS.ALL  | I  | <integer 0..63>  | 1,4  | 
Number of VMs assigned   | var(*LIST).NUM-OF-VMS  | I  | <integer 0..99>  | 2,3,4  | 
Index of the VM which is   | var(*LIST).VM(*LIST).VM-INDEX  | I  | <integer 1..99>  | 2,4  | 
Name of the VM which is   | var(*LIST).VM(*LIST).VM-NAME  | S  | <name 1..8>  | 2,4  | 
Name of the VM group which  | var(*LIST).VM(*LIST).VM-GROUP  | S  | *NONE  | 2,4  | 
Number of attached virtual   | var(*LIST).VM(*LIST).NUM-OF-ATT-CPUS  | I  | <integer 0..32>  | 2,4  | 
Multiprocessor level of   | var(*LIST).VM(*LIST).NUM-OF-CPUS  | I  | <integer 1..32>  | 2,4  | 
Number of spare CPUs of   | var(*LIST).VM(*LIST).  | I  | <integer 0..15>  | 2,4  | 
Number of assigned real   | var(*LIST).NUM-OF-NORMAL-CPUS.ATT  | I  | <integer 0..64>  | 3  | 
Number of assigned real   | var(*LIST).NUM-OF-NORMAL-CPUS.DET  | I  | <integer 0..63>  | 3  | 
Number of assigned real   | var(*LIST).  | I  | <integer 0..63>  | 3  | 
Number of assigned real   | var(*LIST).NUM-OF-EXTRA-CPUS.ATT  | I  | <integer 0..63>  | 3  | 
Number of assigned real   | var(*LIST).NUM-OF-EXTRA-CPUS.DET  | I  | <integer 0..63>  | 3  | 
Number of assigned real   | var(*LIST).  | I  | <integer 0..63>  | 3  | 
Total number of active   | var(*LIST).NUM-OF-RUN-VIRT-CPUS  | I  | <integer 0..3168>  | 3  | 
Output format for INFORMATION = *CPU
CPU-POOL SCHED CPU-ATTR REAL CPUS 
*STDPOOL   DC  NORMAL   00(ATT),01(ATT)
               EXTRA    04(DET)
PCUST1     TS  NORMAL   02(ATT),03(ATT)
               EXTRA    NONE
Meaning of the output columns
CPU-POOL
Identifies the CPU pool by means of its name.
*STDPOOL | Standard CPU pool | 
*POOL0 | CPU pool of domain 0 (SU x86) | 
SCHED
Scheduling procedure
| - | There are no virtual CPUs in the scheduling procedure | 
DC | Fixed CPU assignment (dedicated CPUs) | 
TS | Time slicing | 
CPU-ATTR
Type of CPU  (NORMAL / EXTRA / FOREIGN).
REAL CPUS 
CPU identification and state in the format <cpu-id>(<rstate>),....
<cpu-id> | CPU identifier. | 
<rstate> | State of the real CPU, see "Real CPUs"  (ATT / DET / WFM / ERR / OFF).  | 
NONE | No CPU of this type belongs to the CPU pool. | 
 
Output format for INFORMATION = *VM
CPU-POOL SCHED VM-ID       VM-GROUP ATT PROC
PCUST1     TS   2 C1SYS1              2  4(+1)
                3 C1SYS2              2  2(+1)
Meaning of the output columns
CPU-POOLSCHED
Corresponds to INFORMATION=*CPU.
VM-ID
Identifies a VM which is assigned to the CPU pool by means of VM index and VM name.NONE   No VM has been assigned to the CPU pool.
VM-GROUP
Name of the VM group if the VM is assigned to a VM group.
ATT
Number of attached virtual CPUs of the VM which is assigned to the CPU pool.
PROC
Virtual CPUs of the VM which is assigned to the CPU pool in the form m or m(+n).
m | Number of virtual normal CPUs of the VM (multiprocessor level of the VM). | 
  | Number of virtual spare CPUs of the VM.  | 
Output format for INFORMATION = *SUMMARY
CPU-POOL SCHED REAL-NORMAL-CPUS REAL-EXTRA-CPUS VIRT-CPUS
               ALL ATT DET OFF  ALL ATT DET OFF    RUN
PCUST1     TS    2   2   0   0    0   0   0   0      4
Meaning of the output columns
CPU-POOLSCHED
Corresponds to INFORMATION=*CPU.
REAL-NORMAL-CPUSALL ATT DET OFF
Number of all / attached / detached / offline real normal CPUs of the CPU pool.
REAL-EXTRA-CPUSALL ATT DET OFF
Number of all / attached / detached / offline real extra CPUs of the CPU pool.
VIRT-CPUSRUN
Total number of active virtual CPUs in the CPU pool.
Example
/show-vm-cpu-pool cpu-pool-name=pcust1,information=*allCPU-POOL SCHED CPU-ATTR REAL CPUSPCUST1     TS  NORMAL   02(ATT),03(ATT)               EXTRA    NONECPU-POOL SCHED VM-ID       VM-GROUP ATT PROCPCUST1     TS   2 C1SYS1              2  4(+1)                3 C1SYS2              2  2(+1)
See also the detailed "Example of managing CPU pools".