VMS Help SET, CPU, Examples *Conan The Librarian (sorry for the slow response - running on an old VAX) |
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 PIPERI, a DEC 3000 Model 500 Multiprocessing is ENABLED. Full checking synchronization image loaded. Minimum multiprocessing revision levels: CPU = 1 System Page Size = 8192 System Revision Code = System Serial Number = Default CPU Capabilities: System: QUORUM RUN Default Process Capabilities: System: QUORUM RUN PRIMARY CPU = 00 CPU 00 is in RUN state Current Process: VMSADU PID = 00000094 Serial Number: Revision: F001 VAX floating point operations supported. IEEE floating point operations and data types supported. PALCODE: Revision Code = 5.48-01 PALcode Compatibility = 0 Maximum Shared Processors = 0 Memory Space: Physical address = 00000000 00054000 Length = 81920 Scratch Space: Physical address = 00000000 00104000 Length = 8192 Capabilities of this CPU: System: PRIMARY QUORUM RUN User bitmask: 00000003 Processes which can only execute on this CPU: NETACP PID = 0000008F Reason: PRIMARY Capability $ SET CPU/CAPABILITY/CLEAR=1 0 $ SHOW CPU/FULL PIPERI, a DEC 3000 Model 500 Multiprocessing is ENABLED. Full checking synchronization image loaded. Minimum multiprocessing revision levels: CPU = 1 System Page Size = 8192 System Revision Code = System Serial Number = Default CPU Capabilities: System: QUORUM RUN Default Process Capabilities: System: QUORUM RUN PRIMARY CPU = 00 CPU 00 is in RUN state Current Process: VMSADU PID = 00000094 Serial Number: Revision: F001 VAX floating point operations supported. IEEE floating point operations and data types supported. PALCODE: Revision Code = 5.48-01 PALcode Compatibility = 0 Maximum Shared Processors = 0 Memory Space: Physical address = 00000000 00054000 Length = 81920 Scratch Space: Physical address = 00000000 00104000 Length = 8192 Capabilities of this CPU: System: PRIMARY QUORUM RUN User bitmask: 00000002 Processes which can only execute on this CPU: NETACP PID = 0000008F Reason: PRIMARY Capability 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.
|