8.40 CPUPRIO (Display or set CPU thread process priority)

8.40.1 Function

The CPUPRIO command is used to change the priority of the CPU thread. See section

5.82 for details on
process and thread priorities. On multi-CPU systems a real CPU can be “dedicated” to Hercules by giving
the CPU-thread a very high dispatching priority (-20). Given without an argument the CPUPRIO com-
mand displays the current CPU thread process priority.

Caution: CPUPRIO should not have a higher dispatching priority than the TOD clock and timer thread.

8.40.2 Syntax

Descriptive

[nn]

Diagram

Êʬ¬¬ ¬¬¬§¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




nn

8.40.3 Parameter

nn

This value specifies the priority for the CPU thread. For details on the priority
values see section

5.82 (“Process and Thread Priorities”).

8.40.4 Examples

Example 1:

Set the CPU process priority to -20.

HHC00013I Herc command: 'cpuprio -20'

HHC02204I cpuprio set to -20

Figure 85: CPUPRIO command

8.41 CPUSERIAL (Display or set CPU serial number)

8.41.1 Function

The CPUSERIAL command displays or sets the 6 hexadecimal digit CPU serial number stored by the
STIDP instruction.

8.41.2 Syntax

Descriptive

serial

Diagram

Êʬ¬¬ ¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ





serial

8.41.3 Parameter

serial

Any valid 6 digit hexadecimal CPU serial number. In BASIC mode, the high-order
digit may be replaced with the processor number when MAXCPU is greater than
one. In LPAR mode, the two high-order digits are replaced with either the LPAR
number or the CPU number and LPAR number with the full serial number available
via the STSI instruction. The default serial number is ‘000001’.

8.41.4 Examples

Example 1:

Set the CPU serial number to 001963.

HHC00013I Herc command: 'cpuserial 001963'

HHC02204I cpuserial set to 001963

Figure 86: CPUSERIAL command

Previous Page Next Page