Displays the multiprocessing synchronization data structures. Format SHOW SPINLOCKS {[name]|/ADDRESS=expression|/INDEX=expression} [{/BRIEF | /COUNTS | /FULL}] [/CACHED_PCB | /DEVICE | /DYNAMIC | /MAILBOX | /MISCELLANEOUS | /OWNED | /PCB | /PORT | /PSHARED | /STATIC]
1 – Parameter
name Name of the spinlock to be displayed. Device spinlock names are of the form node$lock, where node indicates the OpenVMS Cluster node name and lock indicates the device and controller identification (for example, HAETAR$DUA). If there is no OpenVMS Cluster node name, the dollar sign ($) is also skipped (for example, DUA).
2 – Qualifiers
2.1 /ADDRESS
/ADDRESS=expression Displays the spinlock at the address specified in expression. You can use the /ADDRESS qualifier to display a specific device, mailbox, PCB, cached PCB, or process-shared spinlock; however, the name of the spinlock may be listed as "Unknown" in the display.
2.2 /BRIEF
Produces a condensed display of the spinlock information displayed by default by the SHOW SPINLOCKS command, including the following: address, spinlock name or device name, IPL or device IPL, rank, ownership depth, and CPU ID of the owner CPU. If the system under analysis was executing with full- checking multiprocessing enabled (according to the setting of the MULTIPROCESSING or SYSTEM_CHECK system parameter), then the number of waiting CPUs and interlock status are also displayed.
2.3 /CACHED_PCB
Displays all PCB-specific spinlocks associated with PCBs of deleted processes.
2.4 /COUNTS
Produces a display of Spin, Wait, and Acquire counts for each spinlock (only if full-checking multiprocessing is enabled).
2.5 /DEVICE
Displays information for all device spinlocks.
2.6 /DYNAMIC
Displays information for all dynamic spinlocks in the system (device, port, mailbox, PCB, cached PCB, process-shared, and miscellaneous spinlocks).
2.7 /FULL
Displays full descriptive and diagnostic information for each displayed spinlock.
2.8 /INDEX
/INDEX=expression Displays the static spinlock whose index is specified in expression. You can only use the /INDEX qualifier to display a named static spinlock.
2.9 /MAILBOX
Displays all mailbox-specific spinlocks.
2.10 /MISCELLANEOUS
Display all spinlocks that are not included in existing groups such as mailbox and PCB spinlocks. Miscellaneous spinlocks include the XFC, PEDRIVER, TCP/IP, and various other spinlocks. The list of miscellaneous spinlocks varies from system to system.
2.11 /OWNED
Displays information for all spinlocks owned by a CPU. If no processors own any spinlocks, SDA displays the following message: %SDA-I-NOSPLOWNED, all requested spinlocks are unowned
2.12 /PCB
Displays all PCB-specific spinlocks.
2.13 /PORT
Displays all port spinlocks.
2.14 /PSHARED
Displays all process-shared (Pthreads) spinlocks.
2.15 /STATIC
Displays information for all static spinlocks in the system.