[OpenVMS documentation]
[Site home] [Send comments] [Help with this site] [How to order documentation] [OpenVMS site] [Compaq site]
Updated: 11 December 1998

OpenVMS Alpha System Analysis Tools Manual


Previous Contents Index

The SHOW LAN/FULL command displays information for all LAN, LSB, and UCB data structures.
#2

SDA> SHOW LAN/TIME
               -- LAN History Information 12-FEB-1995 11:08:48 --
12-FEB 11:08:47.92  ESA               Last receive
12-FEB 11:08:47.92  ESA               Last fork scheduled
12-FEB 11:08:47.92  ESA               Last fork time
12-FEB 11:08:47.77  ESA5     LAST     Last receive
12-FEB 11:08:47.72  ESA3     LAT      Last receive
12-FEB 11:08:41.25  ESA               Last transmit
12-FEB 11:08:41.25  ESA5     LAST     Last transmit
12-FEB 11:08:40.02  ESA2     DECnet   Last receive
12-FEB 11:08:39.14  ESA2     DECnet   Last transmit
12-FEB 11:08:37.39  ESA3     LAT      Last transmit
12-FEB 10:19:25.31  ESA               Last unavail user buffer
12-FEB 10:19:25.31  ESA2     DECnet   Last unavail user buffer
11-FEB 14:10:20.09  ESA5     LAST     Last start completed
11-FEB 14:10:02.16  ESA3     LAT      Last start completed
11-FEB 14:09:58.44  ESA2     DECnet   Last start completed
11-FEB 14:09:57.44  ESA               Last DAT transmit
      

The SHOW LAN/TIME command displays print time information from device and unit data structures.

#3

SDA>SHOW LAN/VCI/DEVICE=ICB
               -- ICB VCI Information 17-APR-1996 14:22:07 --
LSB address  = 80A1D580
Device state = 00000003 RUN,INITED
         -- ICB2 80-41 (LAST) VCI Information 17-APR-1996 14:22:07 --
VCIB address =    8096F238
CLIENT flags:     00000001 RCV_DCB
LAN flags:        00000004 LAN_INIT
DLL flags:        00000005 XMT_CHAIN,PORT_STATUS
UCB status:       00000015 STRTN,UNIQ,STRTD
VCI ID                         LAST    VCI version               00010001
UCB address                80A4C5C0    DP VCRP address           00000000
Hardware address  00-00-93-08-52-CF    LDC address               80A1D720
Physical address  00-00-93-08-52-CF    LAN medium                      TR
Transmit available         80A1D670    Outstanding operations           0
Maximum receives                  0    Outstanding receives             0
Max xmt size                   4444    Header size                     52
Build header rtn           808BF230    Report event rtn          86327130
XMT initiate rtn           808BF200    Transmit complete rtn     86326D80
XMT frame rtn              808BF210    Receive complete rtn      86326A80
      -- ICB2 80-41 (LAST) VCI Information (cont) 17-APR-1996 14:22:07 --
Portmgmt initiate rtn      808BF0C0    Portmgmt complete rtn     86327100
Monitor request rtn        00000000    Monitor transmit rtn      00000000
Monitor flags              00000000    Monitor receive rtn       00000000
Port usable                00000000    Port unusable             00000000
      

The SHOW LAN/VCI/DEVICE=ICB command displays the VCIB for a Token Ring device (ICB) which has an active VCI user (LAST).

#4

SDA>SHOW LAN/ELAN
        -- HCA Emulated LAN LSB Information 17-APR-1996 14:08:02 --
LSB address = 8098D200
Device state = 00000101 RUN,RING_AVAIL
Driver CM VC setup adr   808986A0    Driver CM VC teardown adr    80898668
NIPG CM handle adr       8096C30C    NIPG CM SVC handle           00000000
NIPG CM agent handle adr 809B364C    NIPG CM mgr lineup handle    809B394C
NIPG CM ILMI IO handle   809B378C    MIB II handle adr            809B94CC
MIB handle adr           809B3ACC    Queue header for EL LSBs     00000000
DEC MIB handle adr       809BBD8C    NIPG current TQEs used       00000000
Count of allocated TQEs  0000000D    NIPG current pool used       0000D2C0
NIPG pool allocations    00075730
        -- ELA Emulated LAN LSB Information 17-APR-1996 14:08:02 --
LSB address = 80AB08C0
Device state = 00000001 RUN
ELAN name = ELAN 1
ELAN description = ATM ELAN
ELAN parent = HCA0
ELAN state = 00000001 ACTIVE
MAX transmit size     MTU_1516          ELAN media type      LAN_802_3
LEC attr buff adr     80AB1FC0          LEC attr buff size    00000328
Event mask            00000000          PVC identifer         00000000
Extended sense        00000000
         -- ELA Emulated LAN LEC Attributes 17-APR-1996 14:08:02 --
LAN type          00000000          LAN MTU              00000001
Proxy flag        00000000          Control timeout      0000000A
Max UF count      00000001          Max UF time          00000001
VCC timeout       000004B0          Max retry count      00000002
LEC id            00000002          Forw delay time      0000000F
Flush timeout     00000004          Path switch delay    00000006
SM state          00000070          Illegal CTRL frames  00000000
CTRL xmt failures 00000000          CTRL frames sent     0000000C
CTRL frames_rcvd  00000012          LEARPs sent          00000000
LEARPS rcvd       00000000          UCASTs sent direct   00000000
UCASTs flooded    00000006          UCASTs discarded     00000001
NUCASTs sent      00000000
Local ESI         00000000.00000000
BUS ATM addr      3999990000000008002BA57E80.AA000302FF12.00
LES ATM addr      3999990000000008002BA57E80.AA000302FF14.00
My ATM addr       3999990000000008002BA57E80.08002B2240A0.00
      

The SHOW LAN/ELAN command displays information for the parent ATM device (HCA) driver and the ELAN psuedo-device (ELA) driver.

#5

SDA>SHOW LAN/ELAN/DEV=ELA
        -- ELA Emulated LAN LSB Information 17-APR-1996 14:08:22 --
LSB address = 80AB08C0
Device state = 00000001 RUN
ELAN name = ELAN 1
ELAN description = ATM ELAN
ELAN parent = HCA0
ELAN state = 00000001 ACTIVE
MAX transmit size     MTU_1516          ELAN media type      LAN_802_3
LEC attr buff adr     80AB1FC0          LEC attr buff size    00000328
Event mask            00000000          PVC identifer         00000000
Extended sense        00000000
         -- ELA Emulated LAN LEC Attributes 17-APR-1996 14:08:22 --
LAN type             00000000          LAN MTU              00000001
Proxy flag           00000000          Control timeout      0000000A
Max UF count         00000001          Max UF time          00000001
VCC timeout          000004B0          Max retry count      00000002
LEC id               00000002          Forw delay time      0000000F
Flush timeout        00000004          Path switch delay    00000006
SM state             00000070          Illegal CTRL frames  00000000
CTRL xmt failures    00000000          CTRL frames sent     0000000C
CTRL frames_rcvd     00000012          LEARPs sent          00000000
LEARPS rcvd          00000000          UCASTs sent direct   00000000
UCASTs flooded       00000006          UCASTs discarded     00000001
NUCASTs sent         00000000
Local ESI            00000000.00000000
BUS ATM addr         3999990000000008002BA57E80.AA000302FF12.00
LES ATM addr         3999990000000008002BA57E80.AA000302FF14.00
My ATM addr          3999990000000008002BA57E80.08002B2240A0.00
      

The SHOW LAN/ELAN/DEVICE=ELA command displays information for the ELAN psuedo-device (ELA) driver only.

#6

SDA> SHOW LAN/ELAN/DEVICE=HCA
       -- HCA Emulated LAN LSB Information 17-APR-1996 14:08:25 --
LSB address = 8098D200
Device state = 00000101 RUN,RING_AVAIL
Driver CM VC setup adr   808986A0    Driver CM VC teardown adr    80898668
NIPG CM handle adr       8096C30C    NIPG CM SVC handle           00000000
NIPG CM agent handle adr 809B364C    NIPG CM mgr lineup handle    809B394C
NIPG CM ILMI IO handle   809B378C    MIB II handle adr            809B94CC
MIB handle adr           809B3ACC    Queue header for EL LSBs     00000000
DEC MIB handle adr       809BBD8C    NIPG current TQEs used       00000000
Count of allocated TQEs  0000000D    NIPG current pool used       0000D2C0
NIPG pool allocations    000757B2
      

The SHOW LAN/ELAN/DEVICE=HCA command displays information for the ATM device (HCA) driver only.


SHOW LOCK

Displays information about all lock management locks in the system, or about a specified lock.

Format

SHOW LOCK {lock-id|/ADDRESS=n|/ALL (d)|
/BLOCKING|/BRIEF|/CACHED|/CONVERT|/GRANTED
|/NAME=name|/POOL|
/STATUS=(keyword [,keyword...])|/SUMMARY|
/WAITING}


Parameter

lock-id

Name of a specific lock.

Qualifiers

/ADDRESS=n

Displays a specific lock, given the address of the lock block.

/ALL

Lists all locks that exist in the system. This is the default behavior of the SHOW LOCK command.

/BLOCKING

Displays only the locks that have a blocking AST specified or attached.

/BRIEF

Displays a brief one line of lock information.

/CACHED

Displays locks that are no longer valid. The memory for these locks is saved so that later requests for locks can use them. Cached locks are not displayed in the other SHOW LOCK commands.

/CONVERT

Displays only the locks that are on the conversion queue.

/GRANTED

Displays only the locks that are on the granted queue.

/NAME=name

Displays a specified lock with the given name.

/POOL

Displays the lock manager's poolzone information, which contains the lock blocks (LKB) and resource blocks (RSB).

/STATUS=(keyword[,keyword...])

Displays only the locks that have the specified status bits set in the LKB$L_STATUS field. Status keywords are as follows:
Keyword Meaning
ASYNC Completes request asynchronously
BLKASTFLG Specifies a blocking AST
BLKASTQED Indicates a blocking AST is queued
BRL Indicates a byte range lock
CACHED Indicates a lock block in cache
CVTSUBRNG Indicates a sub-range convert request
CVTTOSYS Converts back to system-owned lock
DBLKAST Delivers a blocking AST
DCPLAST Delivers a completion AST
FLOCK Indicates a fork lock
GRSUBRNG Grants sub-range lock
IP Indicates operation in process
MSTCPY Indicates a lock block is a master copy
NEWSUBRNG Indicates a new sub-range request
NOQUOTA Does not charge quota
PCACHED Indicates lock block needs to be cached
PROTECT Indicates a protected lock
RESEND Resends during failover
RM_RBRQD Requires remaster rebuild
RNGBLK Specifies a range block
RNGCHG Indicates a changing range
TIMOUTQ Indicates lock block is on timeout queue
VALBLKRD Indicates read access to lock value block
VALBLKWRT Indicates write access to lock value block
WASSYSOWN Indicates was system-owned lock
2PC_IP Indicates a two-phase operation in progress
2PC_PEND Indicates a two-phase operation pending

/SUMMARY

Displays summary data and performance counters.

/WAITING

Displays only the waiting locks.

Description

The SHOW LOCK command displays the information described in Table 4-4 for each lock management lock in the system, or for the lock indicated by lock-id. (Use the SHOW SPINLOCKS command to display information about spin locks.) You can obtain a similar display for the locks owned by a specific process by issuing the appropriate SHOW PROCESS/LOCKS command. See the OpenVMS Programming Concepts Manual for additional information.

You can display information about the resource to which a lock is queued by issuing the SHOW RESOURCE command specifying the resource's lock-id.

Table 4-4 Contents of the SHOW LOCK and SHOW PROCESS/LOCKS Displays
Display Element Description
Process Index 1 Index in the PCB array to a pointer to the process control block (PCB) of the process that owns the lock.
Name 1 Name of the process that owns the lock.
Extended PID 1 Clusterwide identification of the process that owns the lock.
Lock ID Identification of the lock.
PID Systemwide identification of the lock.
Flags Information specified in the request for the lock.
Par. ID Identification of the lock's parent lock.
Granted at Lock mode at which the lock was granted.
Sublocks Identification numbers of the locks that the lock owns.
LKB Address of the lock block (LKB). If a blocking AST has been enabled for this lock, the notation "BLKAST" appears next to the LKB address.
Resource Dump of the resource name. The two leftmost columns of the dump show its contents as hexadecimal values, the least significant byte being represented by the rightmost two digits. The rightmost column represents its contents as ASCII text, the least significant byte being represented by the leftmost character.
Status Status of the lock, information used internally by the lock manager.
Length Length of the resource name.
Mode Processor access mode of the namespace in which the resource block (RSB) associated with the lock resides.
Owner Owner of the resource. Certain resources owned by the operating system list "System" as the owner. Resources owned by a group have the number (in octal) of the owning group in this field.
Copy Indication of whether the lock is mastered on the local system or is a process copy.


1This display element is produced only by the SHOW PROCESS/LOCKS command.


Examples

#1

SDA> SHOW LOCK
Lock database
-------------
Lock id:  01000001            PID:    00000000   Flags: NOQUEUE SYNCSTS SYSTEM  
Par. id:  00000000            SUBLCKs:       0          CVTSYS                  
LKB:      FFFFFFFF.7FC8C050   BLKAST: 00000000                                  
Priority:     0000                                                              
 
Granted at    EX   00000000-FFFFFFFF 
 
Resource:          5F535953 24535953  SYS$SYS_  Status: NOQUOTA                 
 Length   16       00000000 CB0E4449  ID.Ë....                                  
 Exec. mode        00000000 00000000  ........                                  
 System            00000000 00000000  ........                                  
 
Local copy  
 
 
Lock Database 
------------- 
 
Lock id:  04000002            PID:    00000000   Flags: CONVERT NOQUEUE SYSTEM  
Par. id:  00000000            SUBLCKs:       0          NOQUOTA CVTSYS  NODLCKW 
LKB:      FFFFFFFF.7FC8C250   BLKAST: 81101AC0          NODLCKB                 
Priority:     0000                                                              
 
Granted at    PR   00000000-FFFFFFFF 
 
Resource:          6D632445 48434143  CACHE$cm  Status: FLOCK                   
 Length   24       525F534B 524F5753  SWORKS_R                                  
 Kernel mode       00003508 4E455641  AVEN.5..                                  
 System            00000000 00000000  ........                                  
 
Local copy  
 
 
Lock Database 
------------- 
 
Lock id:  02000003            PID:    00000000   Flags: VALBLK  CONVERT SYNCSTS 
Par. id:  00000000            SUBLCKs:       0          NOQUOTA CVTSYS          
LKB:      FFFFFFFF.7FC8C450   BLKAST: 00000000                                  
Priority:     0000                                                              
 
Granted at    CR   00000000-FFFFFFFF 
 
Resource:          2439245F 24535953  SYS$_$9$  Status: NOQUOTA                 
 Length   13       0000003A 30414B44  DKA0:...                                  
 Kernel mode       00000000 00000000  ........                                  
 System            00000000 00000000  ........                                  
 
Local copy  
   .
   .
   .
      

#2

SDA>  SHOW RESOURCE/LOCK=1A0002CA
Resource database
-----------------
RSB:         FFFFFFFF.7FD36450  GGMODE:     EX  Status: WTFULRG                 
Parent RSB:  FFFFFFFF.7FD0EC50  CGMODE:     EX                                  
Sub-RSB count:      0           FGMODE:     EX                                  
Lock Count:         2           RQSEQNM:  0001                                  
BLKAST count:       0           CSID: 00000000  (SWORKS) 
 
Resource:          43424A24 4E414D51  QMAN$JBC  Valblk: 00000000 00000000 
 Length   17       305F4556 494C415F  _ALIVE_0          00000000 00000000 
 User mode         00000000 00000031  1....... 
 Group   001       00000000 00000000  ........  Seqnum: 00000000 
 
Granted queue (Lock ID / Gr mode / Range): 
 1A0002CA  EX 00000000-FFFFFFFF 
 
Conversion queue (Lock ID / Gr mode / Range -> Rq mode / Range): 
     *** EMPTY QUEUE *** 
 
Waiting queue (Lock ID / Rq mode / Range): 
 050007D4  CR 00000000-FFFFFFFF
 
      

This SDA session shows the output of the SHOW LOCK command for several locks. The SHOW RESOURCE command, executed for the last displayed lock, verifies that the lock is in the resource's granted queue. (See Table 4-20 for a full explanation of the contents of the display of the SHOW RESOURCE command.)



SHOW MACHINE_CHECK

Displays the contents of the stored machine check frame. This command is valid for the DEC 4000 Alpha, DEC 7000 Alpha, and DEC 10000 Alpha computers only.

Format

SHOW MACHINE_CHECK [/FULL] [cpu-id]


Parameter

cpu-id

Numeric value from 00 to 1F16 indicating the identity of the processor for which context information is to be displayed. This parameter changes the SDA current CPU (the default) to the CPU specified with cpu-id. If you specify a value outside this range, or you specify the cpu-id of a processor that was not active at the time of the system failure, SDA displays the following message:


%SDA-E-CPUNOTVLD, CPU not booted or CPU number out of range 

If you use the cpu-id parameter, the SHOW MACHINE_CHECK command performs an implicit SET CPU command, making the processor indicated by cpu-id the current CPU for subsequent SDA commands. (See the description of the SET CPU command and Chapter 2, Section 2.5 for information on how this can affect the CPU context---and process context---in which SDA commands execute.)


Qualifier

/FULL

Specifies that a detailed version of the machine check information be displayed. This is currently identical to the default summary display.

Description

The SHOW MACHINE_CHECK command displays the contents of the stored machine check frame. A separate frame is allocated at boot time for every CPU in a multiple-CPU system. This command is valid for the DEC 4000 Alpha, DEC 7000 Alpha, and DEC 10000 Alpha computers only.

If no qualifier is specified, a summary version of the machine check frame is displayed.

The default cpu-id is the SDA current CPU.


Examples

#1

SDA> SHOW MACHINE_CHECK 
CPU 00 Stored Machine Check Crash Data
--------------------------------------
Processor specific information: 
------------------------------- 
Exception address:    FFFFFFFF.800B0250    Exception Summary:  00000000.00000000 
Pal base address:     00000000.00008000    Exception Mask:     00000000.00000000 
HW Interrupt Request: 00000000.00000342    HW Interrupt Ena:   00000001.FFC01CE0 
MM_CSR                00000000.00003640    ICCSR:              00000002.381F0000 
D-cache address:      00000007.FFFFFFFF    D-cache status:     00000000.000002E0 
BIU status:           00000000.00000050    BIU address [7..0]: 00000000.000060E0 
BIU control:          00000008.50006447    Fill Address:       00000000.00006120 
Single-bit syndrome:  00000000.00000000    Processor mchck VA: 00000000.00006190 
A-box control:        00000000.0000040E    B-cache TAG:        00106100.83008828 
System specific information: 
---------------------------- 
Garbage bus info:     00200009 00000038    Device type:                 000B8001 
LCNR:                          00000001    Memory error:                00000000 
LBER:                          00000009    Bus error synd 0,1: 00000000 00000000 
Bus error cmd:        00048858 00AB1C88    Bus error synd 2,3: 00000000 0000002C 
LEP mode:                      00010010    LEP lock address:            00041108 
 
      

The SHOW MACHINE_CHECK command in this SDA display shows the contents of the stored machine check frame.

#2

SDA> SHOW MACHINE_CHECK 1
CPU 01 Stored Machine Check Crash Data 
--------------------------------------
Processor specific information: 
------------------------------- 
Exception address:    FFFFFFFF.800868A0    Exception Summary:  00000000.00000000 
Pal base address:     00000000.00008000    Exception Mask:     00000000.00000000 
HW Interrupt Request: 00000000.00000342    HW Interrupt Ena:   00000000.1FFE1CE0 
MM_CSR                00000000.00005BF1    ICCSR:              00000000.081F0000 
D-cache address:      00000007.FFFFFFFF    D-cache status:     00000000.000002E0 
BIU status:           00000000.00000050    BIU address [7..0]: 00000000.000063E0 
BIU control:          00000008.50006447    Fill Address:       00000000.00006420 
Single-bit syndrome:  00000000.00000000    Processor mchck VA: 00000000.00006490 
A-box control:        00000000.0000040E    B-cache TAG:        35028EA0.50833828 
System specific information: 
---------------------------- 
Garbage bus info:     00210001 00000038    Device type:                 000B8001 
LCNR:                          00000001    Memory error:                00000080 
LBER:                          00040209    Bus error synd 0,1: 00000000 00000000 
Bus error cmd:        00048858 00AB1C88    Bus error synd 2,3: 00000000 0000002C 
LEP mode:                      00010010    LEP lock address:            00041108 
 
      

The SHOW MACHINE_CHECK command in this SDA display shows the contents of the stored machine check frame for cpu-id 01.


Previous Next Contents Index

[Site home] [Send comments] [Help with this site] [How to order documentation] [OpenVMS site] [Compaq site]
[OpenVMS documentation]

Copyright © Compaq Computer Corporation 1998. All rights reserved.

Legal
6549PRO_012.HTML