QUERY CPUID

Read syntax diagramSkip visual syntax diagram Query CPUid

Authorization

Privilege Class: G

Purpose

Use QUERY CPUID to display the doubleword processor identifier used by your virtual machine.

Usage Notes

  1. This command returns the CPUID of the issuing user's VIRTUAL processor. The virtual CPUID defaults to the real configuration master processor CPUID unless the user has issued SET CPUID or is using the directory OPTIONS or CPU statements to alter the virtual CPUID, or the user is in a relocation domain that requires its architecture to appear at a lower level than the real configuration master processor.
  2. To obtain the CPUID of non-base processors in a virtual configuration, use the CPU command to direct the Q CPUID to each non-base processor.
  3. When part of an SSI cluster, the results of QUERY CPUID depend on the relocation domain of the issuing user. This command shows the virtual CPUID of the issuing user. Virtual CPUIDs may differ among users on the same system when they belong to different relocation domains.

Responses

Response 1:
CPUID= aassssssccccdddd
aa
identifies the version code. These two digits are set to X'FF' to identify that your virtual machine is running under z/VM.
ssssss
identifies the processor. This field contains six hexadecimal digits and is set at logon from the real configuration master processor. This is the only part of the CPUID that can be modified by means of the SET CPUID command or set by the system directory's OPTION control statement. This portion of the CPUID is not modified if the owning guest is relocated.
cccc
identifies the model number. This field is set to the model number of the real machine unless the user is in a relocation domain that requires its architecture to appear at a lower level than the real configuration master processor, in which case it is set to the level required by the relocation domain.
dddd
is bits 48-63 of the CPU identification of the real machine. On all supported servers, this field is set to X'8000'. For details on the value reported by QUERY CPUID, see the STORE CPU ID control instruction in z/Architecture Principles of Operation.

Messages

  • HCP003E Invalid option - {option|command contains extra option(s) starting with option}