VMS Help  —  SET  CPU  Examples
    1.$ SET CPU/CAPABILITY/GLOBAL/SET=(2,4)

      This command sets user capabilities 2 and 4 in the global cell
      SCH$GL_DEFAULT_CPU_CAP.

    2.$ SET CPU/CAPABILITY/GLOBAL/SET=(2,4) 0

      This command sets user capabilities 2 and 4 in the global cell
      SCH$GL_DEFAULT_CPU_CAP, as well in the active CPU 0.

    3.$ SET CPU/CAPABILITY/SET=(1,2) 0
      $ SHOW CPU/FULL
      SYSTEM: EUROS, VSI RX2600  (900MHZ/1.5MB)

        SMP EXECLET   = 3 : ENABLED : STREAMLINED.
        CONFIG TREE   = VERSION 6
        PRIMARY CPU   = 0
        HWRPB CPUS    = 2
        PAGE SIZE     = 8192
        REVISION CODE =
        SERIAL NUMBER = US30464615
        DEFAULT CPU CAPABILITIES:
              SYSTEM: QUORUM RUN
        DEFAULT PROCESS CAPABILITIES:
              SYSTEM: QUORUM RUN

      CPU 0    STATE: RUN       CPUDB: 8901C000   HANDLE: 00005D70
               OWNER: 000004C8   CURRENT: 000004C8  PARTITION 0 (EUROS)
              CHGCNT:        1     STATE: PRESENT, PRIMARY, REASSIGNABLE
             PROCESS: TEST11               PID: 20201185
        CAPABILITIES:
              SYSTEM: PRIMARY QUORUM RUN RAD0
                USER: USR1 USR2
        SLOT CONTEXT: 901EB000
           CPU     -  STATE..........: RC, PA, PP, CV, PV, PMV, PL
                      TYPE...........: ITANIUM MAJOR = 31,  MINOR = 0
                      SPEED..........: 900 MHZ
                      LID............: 00000000
                      VARIATION......: IEEE FP, PRIMARY ELIGIBLE
                      SERIAL NUMBER..: 0001A968930A1A25
                      REVISION.......:
                      HALT REQUEST...: 0
                      SOFTWARE COMP..: 7.0
           PALCODE -  REVISION CODE..: 1.1
                      COMPATIBILITY..: 0
                      MAX SHARED CPUS: 0
        BINDINGS:     * NONE *
        FASTPATH:
              FGB0
              PKA0
              PEA0
              EIA0
        FEATURES:
           AUTOSTART - ENABLED.
           FASTPATH  - SELECTION ENABLED AS PREFERRED CPU.

      CPU 1    STATE: RUN             CPUDB: 89163480  HANDLE: 00005E80
               OWNER: 000004C8      CURRENT: 000004C8  PARTITION 0 (EUROS)
              CHGCNT:        1     STATE: PRESENT, REASSIGNABLE
             PROCESS: * NONE *
        CAPABILITIES:
              SYSTEM: QUORUM RUN RAD0
        SLOT CONTEXT: 901EC000
           CPU     -  STATE..........: RC, PA, PP, CV, PV, PMV, PL
                      TYPE...........: ITANIUM MAJOR = 31,  MINOR = 0
                      SPEED..........: 900 MHZ
                      LID............: 01000000
                      VARIATION......: IEEE FP
                      SERIAL NUMBER..: 000363B4B0C5C862
                      REVISION.......:
                      HALT REQUEST...: 0
                      SOFTWARE COMP..: 7.0
           PALCODE -  REVISION CODE..: 1.1
                      COMPATIBILITY..: 0
                      MAX SHARED CPUS: 0
        BINDINGS:     * NONE *
        FASTPATH:
              FGA0
              EWA0
              PKB0
              BG0
        FEATURES:
           AUTOSTART - ENABLED.
           FASTPATH  - SELECTION ENABLED AS PREFERRED CPU.

      $ SET CPU/CAPABILITY/CLEAR=1 0

      $ SHOW CPU/FULL
      SYSTEM: EUROS, VSI RX2600  (900MHZ/1.5MB)

      SMP EXECLET   = 3 : ENABLED : STREAMLINED.
        CONFIG TREE   = VERSION 6
        PRIMARY CPU   = 0
        HWRPB CPUS    = 2
        PAGE SIZE     = 8192
        REVISION CODE =
        SERIAL NUMBER = US30464615
        DEFAULT CPU CAPABILITIES:
              SYSTEM: QUORUM RUN
        DEFAULT PROCESS CAPABILITIES:
              SYSTEM: QUORUM RUN
      CPU 0    STATE: RUN             CPUDB: 8901C000  HANDLE: 00005D70
               OWNER: 000004C8      CURRENT: 000004C8  PARTITION 0 (EUROS)
              CHGCNT:        1     STATE: PRESENT, PRIMARY, REASSIGNABLE
             PROCESS: TEST11           PID: 20201185
        CAPABILITIES:
              SYSTEM: PRIMARY QUORUM RUN RAD0
                USER: USR2
        SLOT CONTEXT: 901EB000
           CPU     -  STATE..........: RC, PA, PP, CV, PV, PMV, PL
                      TYPE...........: ITANIUM MAJOR = 31,  MINOR = 0
                      SPEED..........: 900 MHZ
                      LID............: 00000000
                      VARIATION......: IEEE FP, PRIMARY ELIGIBLE
                      SERIAL NUMBER..: 0001A968930A1A25
                      REVISION.......:
                      HALT REQUEST...: 0
                      SOFTWARE COMP..: 7.0
           PALCODE -  REVISION CODE..: 1.1
                      COMPATIBILITY..: 0
                      MAX SHARED CPUS: 0
        BINDINGS:     * NONE *
        FASTPATH:
              FGB0
              PKA0
              PEA0
              EIA0
        FEATURES:
           AUTOSTART - ENABLED.
           FASTPATH  - SELECTION ENABLED AS PREFERRED CPU.

      CPU 1    STATE: RUN             CPUDB: 89163480  HANDLE: 00005E80
               OWNER: 000004C8      CURRENT: 000004C8  PARTITION 0 (EUROS)
              CHGCNT:        1     STATE: PRESENT, REASSIGNABLE
             PROCESS: * NONE *
        CAPABILITIES:
              SYSTEM: QUORUM RUN RAD0
        SLOT CONTEXT: 901EC000
           CPU     -  STATE..........: RC, PA, PP, CV, PV, PMV, PL
                      TYPE...........: ITANIUM MAJOR = 31,  MINOR = 0
                      SPEED..........: 900 MHZ
                      LID............: 01000000
                      VARIATION......: IEEE FP
                      SERIAL NUMBER..: 000363B4B0C5C862
                      REVISION.......:
                      HALT REQUEST...: 0
                      SOFTWARE COMP..: 7.0
           PALCODE -  REVISION CODE..: 1.1
                      COMPATIBILITY..: 0
                      MAX SHARED CPUS: 0
        BINDINGS:     * NONE *
        FASTPATH:
              FGA0
              EWA0
              PKB0
              BG0
        FEATURES:
           AUTOSTART - ENABLED.
           FASTPATH  - SELECTION ENABLED AS PREFERRED CPU.
      $

      In this example, the first SET CPU command sets user
      capabilities 1 and 2 for CPU 0. The second SET CPU command
      clears capability 1.

    4.$ SET CPU/REFRESH/ALL

      This command updates the OpenVMS context in this instance for
      all CPUs physically residing in the current hard partition.

    5.$ SET CPU/FAILOVER=WFGLXA 12

      This command sets CPU 12 to failover to another instance
      (WFGLXA), if the current instance crashes.

    6.$ SET CPU/FAILOVER=$$HARD 13

      This command assigns CPU 13 to hard partition ownership if
      the current instance crashes. Assignment to the hard partition
      makes the CPU visible and available to other instances for
      assignment.

    7.$ SET CPU/ASSIGN=$$HARD 14

      This command assigns CPU 14, currently owned by the instance,
      to hard partition ownership. Assignment to the hard partition
      makes the CPU visible and available to other instances for
      assignment.

    8.$ SET CPU/ASSIGN 15

      This command assigns CPU 15, currently owned by the hard
      partition, to this instance. If the CPU is powered, in
      the potential set, and autostart enabled, then it will
      automatically join the active set.
Close Help