NET/MASTER Management Services (MS) Command Reference Manual

LBANNER
PARAM CPUWEIGHT
NonStop NET/MASTER MS Commands
115412 Tandem Computers Incorporated 2–205
After NonStop NET/MASTER MS startup:
The default authority level of this operand is 9.
This command immediately changes the current CPU weight of the specified
CPU. It does not update the configuration file. If NonStop NET/MASTER MS
is stopped and restarted, the weight assigned in the configuration file is
reassigned to the CPU.
If you change the current CPU weight to zero or to a value lower than the
configured CPU weight, no new processes are started in that CPU. Processes
running in the specified CPU are not affected by a change in CPU weight,
even when the change means that a process is left running in a CPU whose
weight is changed to zero. The change takes effect when a new process starts.
For related information, see the SHOW CPUWEIGHT command.
Examples
1. In a configuration file, the following example (in a four-CPU system, with CPUs 0,
1, 2, and 3) configures CPU 0 for maximum availability and specifies that all other
CPUs are unavailable:
PARAM CPUWEIGHT=(0,100)
PARAM CPUWEIGHT=(1, 0)
PARAM CPUWEIGHT=(2, 0)
PARAM CPUWEIGHT=(3, 0)
2. In a configuration file, the following example (in a four-CPU system, with CPUs 0,
1, 2, and 3) specifies that CPUs 0 and 1 are unavailable and configures CPUs 2 and
3 for maximum availability by default:
PARAM CPUWEIGHT=(0,0)
PARAM CPUWEIGHT=(1,0)