VMS Help SHOW, CPU, Examples *Conan The Librarian (sorry for the slow response - running on an old VAX) |
1.$ SHOW CPU SOWHAT, A VAX 8800 Multiprocessing is ENABLED. Full checking synchronization image loaded. Minimum multiprocessing revision levels: CPU = 0 uCODE = 0 UWCS = 0. PRIMARY CPU = 01 Active CPUs: 00 01 Configured CPUs: 00 01 The SHOW CPU command in this example produces a configuration summary of all configured processors in the VAX 8800 system SOWHAT. The primary processor is CPU 01, and all configured processors are active. 2.$ SHOW CPU/BRIEF SOWHAT, A VAX 8800 Multiprocessing is ENABLED. Full checking synchronization image loaded. Minimum multiprocessing revision levels: CPU = 0 uCODE = 0 UWCS = 0. PRIMARY CPU = 01 CPU 00 is in RUN state Current Process: AIREGIN PID = 4A8001E5 CPU 01 is in RUN state Current Process: ***None*** The SHOW CPU/BRIEF command in this example produces a configuration summary of the VAX 8800 system SOWHAT and also indicates that its two processors are in the RUN state. Only CPU 00 has a current process. 3.$ SHOW CPU/FULL BIG1, a AlphaServer 4100 5/466 4MB Multiprocessing is ENABLED. Full checking synchronization image loaded. System Information: Page Size = 8192 Revision Code = Serial Number = NI83603713 Default CPU Capabilities: System: QUORUM RUN Default Process Capabilities: System: QUORUM RUN Primary CPU = 000 CPU 000 State: RUN Process Name: SYSTEM PID: 00000438 Capabilities: System: PRIMARY QUORUM RUN RAD0 Slot Context: CPU - Type...........: EV56 (21164A), Pass 2 State..........: RC, PA, PP, CV, PV, PMV, PL Variation......: VAX FP, IEEE FP, Primary Eligible Serial Number..: Revision.......: Halt Request...: 0 Software Comp..: 5.5 PALCODE - Revision Code..: 1.21-01 Compatibility..: 1 Max Shared CPUs: 4 Memory Space..: Physical = 00000000.00000000 Length = 0 Scratch Space..: Physical = 00000000.00000000 Length = 0 Bindings: NETACP PID = 00000417 Reason: PRIMARY Capability Features: AUTOSTART is enabled. Enabled for use as a Fastpath Preferred CPU. Fastpath ports assigned: *** None *** CPU 001 State: RUN Process Name: SETI@home 10% PID: 0000041F Capabilities: System: QUORUM RUN RAD0 Slot Context: CPU - Type...........: EV56 (21164A), Pass 2 State..........: RC, PA, PP, CV, PV, PMV, PL Variation......: VAX FP, IEEE FP Serial Number..: Revision.......: Halt Request...: 0 Software Comp..: 5.5 PALCODE - Revision Code..: 1.21-01 Compatibility..: 1 Max Shared CPUs: 4 Memory Space..: Physical = 00000000.00000000 Length = 0 Scratch Space..: Physical = 00000000.00000000 Length = 0 Bindings: *** None *** Features: AUTOSTART is enabled. Enabled for use as a Fastpath Preferred CPU. Fastpath ports assigned: PKC0 *** None *** CPU 002 State: RUN Process Name: SETI@home 19% PID: 00000420 Capabilities: System: QUORUM RUN RAD0 Slot Context: CPU - Type...........: EV56 (21164A), Pass 2 State..........: RC, PA, PP, CV, PV, PMV, PL Variation......: VAX FP, IEEE FP Serial Number..: Revision.......: Halt Request...: 0 Software Comp..: 5.5 PALCODE - Revision Code..: 1.21-01 Compatibility..: 1 Max Shared CPUs: 4 Memory Space..: Physical = 00000000.00000000 Length = 0 Scratch Space..: Physical = 00000000.00000000 Length = 0 Bindings: *** None *** Features: AUTOSTART is enabled. Enabled for use as a Fastpath Preferred CPU. Fastpath ports assigned: PKB0 *** None *** CPU 003 State: RUN Process Name: SETI@home 92% PID: 00000422 Capabilities: System: QUORUM RUN RAD0 Slot Context: CPU - Type...........: EV56 (21164A), Pass 2 State..........: RC, PA, PP, CV, PV, PMV, PL Variation......: VAX FP, IEEE FP Serial Number..: Revision.......: Halt Request...: 0 Software Comp..: 5.5 PALCODE - Revision Code..: 1.21-01 Compatibility..: 1 Max Shared CPUs: 4 Memory Space..: Physical = 00000000.00000000 Length = 0 Scratch Space..: Physical = 00000000.00000000 Length = 0 Bindings: *** None *** Features: AUTOSTART is enabled. Enabled for use as a Fastpath Preferred CPU. Fastpath ports assigned: *** None *** The SHOW CPU/FULL command in this example produces a configuration summary of the AlphaServer 4100 5/466 4MB system, BIG1. All are in the RUN state and all have a current process. Note that NETACP can only run on CPU 0, because only CPU 0 has primary capability. Note also that CPUs 1 and 2 have Fastpath ports, PKC0 and PKB0 respectively assigned. 4.$ SHOW CPU/FULL OLEO, A VAX 6000-420 Multiprocessing is DISABLED. MULTIPROCESSING System parameter = 02 Minimum multiprocessing revision levels -- CPU: 0 uCODE: 0 UWCS: 21. PRIMARY CPU = 02 *Loaded unmodified device drivers prevent multiprocessor operation.* RBDRIVER CPU 02 is in RUN state Current Process: Koko PID = 2A6001E3 Revision levels: CPU: 0 uCODE: 0 UWCS: 0. Capabilities of this CPU: PRIMARY VECTOR RUN Processes which can only execute on this CPU: CONFIGURE PID = 2A40010B Reason = PRIMARY Capability Reason = RUN Capability CPU 07 is in INIT state Current Process: *** None *** Revision levels: CPU: 0 uCODE: 0 UWCS: 0. Capabilities of this CPU: *** None *** Processes which can only execute on this CPU: *** None *** The SHOW CPU/FULL command in this example produces a configuration summary of the VAX 6000-420 system OLEO, indicating that only CPU 02, the primary CPU, is active and in the RUN state. It also shows that there is a uniprocessing driver loaded in the system, thus preventing the system from being enabled as a multiprocessor. 5.$ SET PROCESS /AFFINITY /SET=3 SYSTEM/PERMANENT $ SHOW CPU 3/FULL BIG1, a AlphaServer 4100 5/466 4MB Multiprocessing is ENABLED. Full checking synchronization image loaded. System Information: Page Size = 8192 Revision Code = Serial Number = NI83603713 Default CPU Capabilities: System: QUORUM RUN Default Process Capabilities: System: QUORUM RUN Primary CPU = 000 CPU 003 State: RUN Process Name: SYSTEM PID: 00000438 Capabilities: System: QUORUM RUN RAD0 Slot Context: CPU - Type...........: EV56 (21164A), Pass 2 State..........: RC, PA, PP, CV, PV, PMV, PL Variation......: VAX FP, IEEE FP Serial Number..: Revision.......: Halt Request...: 0 Software Comp..: 5.5 PALCODE - Revision Code..: 1.21-01 Compatibility..: 1 Max Shared CPUs: 4 Memory Space..: Physical = 00000000.00000000 Length = 0 Scratch Space..: Physical = 00000000.00000000 Length = 0 Bindings: SYSTEM PID = 00000438 Reason: Affinitized to this CPU Features: AUTOSTART is enabled. Disabled for use as a Fastpath Preferred CPU. Fastpath ports assigned to this CPU: PNA0 (user assigned) In this example, the SYSTEM process has its affinity set permanently to CPU3. The SHOW CPU command indicates this is the BINDINGS list. The port PNA0 was assigned to CPU 3 by a user when CPU 3 was enabled as a Fast Path preferred CPU. Subsequent to that operation, CPU 3's bit was cleared in the IO_PREFER_CPUS system parameter. This disabled CPU 3 for use as a Fast Path preferred CPU. Normally this is a transient condition, as changing IO_PREFER_CPUS results in the FASTPATH_SERVER process redistributing the Fast Path ports across the set of usable CPUs. However, if there is no FASTPATH_SERVER process, PNA0 remains assigned to this CPU until any of the following actions occur: 1. The user tries to move the port to another CPU by using the SET DEVICE/PREFERRED_CPU command, $QIO, or the $IO_FASTPATH system service. 2. The CPU is stopped.
|