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
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
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