  | 
		
HP OpenVMS System Analysis Tools Manual
 
 
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) that 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 pseudo-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
pseudo-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 LOCKS
 
Displays information about all lock management locks in the system, or
about a specified lock.
 
 
Format
SHOW LOCKS {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 LOCKS command.
/BLOCKING
Displays only the locks that have a blocking AST specified or attached.
/BRIEF
Displays a single line of information for each lock.
/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 LOCKS 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 all locks on the specified resource. Name can be the
actual name of the resource, if it only contains uppercase letters,
numerals, the underscore (_), dollar sign, colon (:), and some other
printable characters, as for example, /NAME=MY_LOCK. If it contains
other printable characters (including lowercase letters), you may need
to enclose the name in quotation marks (""), as for example,
/NAME="My_Lock/47". If it contains nonprintable characters, you can
specify the name as a comma-separated list comprised of strings and
hexadecimal numbers. For example, /NAME=("My_Lock",0C00,"/47") would
specify the name "My_Lock<NUL><FF>/47". The hexadecimal
number can be no more than 8 digits (4 bytes) in length. Nonprintable
sequences of more than 4 bytes must be split into multiple hexadecimal
numbers. The maximum length of a resource name is 32 characters.
/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  | 
   
  
    | 
      2PC_IP
     | 
    
      Indicates a two-phase operation in progress
     | 
   
  
    | 
      2PC_PEND
     | 
    
      Indicates a two-phase operation pending
     | 
   
  
    | 
      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
     | 
   
  
    | 
      DPC
     | 
    
      Indicates a delete pending cache lock
     | 
   
  
    | 
      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
     | 
   
 
/SUMMARY
Displays summary data and performance counters.
/WAITING
Displays only the waiting locks.
 
 
Description
The SHOW LOCKS command displays the information described in
Table 4-6 for each lock management lock in the system, or for the
lock indicated by lock-id, an address or name. (Use
the SHOW SPINLOCKS command to display information about spinlocks.) You
can obtain a similar display for the locks owned by a specific process
by issuing the appropriate SHOW PROCESS/LOCKS command. See the
HP OpenVMS Programming Concepts Manual for additional information.
You can display information about the resource to which a lock is
queued by issuing the SHOW RESOURCES command specifying the resource's
lock-id.
 
 
  Table 4-6 Contents of the SHOW LOCKS 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.
     | 
   
  
    | 
      Sublocks
     | 
    
      Count 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.
     | 
   
  
    | 
      Priority
     | 
    
      The lock priority.
     | 
   
  
    | 
      Granted at
     | 
    
      Lock mode at which the lock was granted.
     | 
   
  
    | 
      RSB
     | 
    
      Address of the resource block.
     | 
   
  
    | 
      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 LOCKS
Lock Database
-------------
Lock id:  3E000002            PID:    00000000   Flags: CONVERT NOQUEUE SYNCSTS
Par. id:  00000000            SUBLCKs:       0          NOQUOTA CVTSYS
LKB:      FFFFFFFF.7DF48150   BLKAST: 81107278
Priority:     0000
Granted at    CR   00000000-FFFFFFFF
RSB:               FFFFFFFF.7DF68D50
Resource:          494D6224 42313146  F11B$bMI  Status: NOQUOTA VALBLKR VALBLKW
 Length   18       4D55445F 5944414C  LADY_DUM
 Kernel mode       00000000 00005350  PS......
 System            00000000 00000000  ........
Local copy
Lock Database
-------------
Lock id:  3F000003            PID:    00000000   Flags: VALBLK  CONVERT SYNCSTS
Par. id:  0100007A            SUBLCKs:       0          CVTSYS
LKB:      FFFFFFFF.7DF48250   BLKAST: 00000000
Priority:     0000
Granted at    NL   00000000-FFFFFFFF
RSB:               FFFFFFFF.7DF51D50
Resource:          01F77324 42313146  F11B$s÷.  Status: NOQUOTA VALBLKR VALBLKW
 Length   10       00000000 00000000  ........
 Kernel mode       00000000 00000000  ........
 System            00000000 00000000  ........
Local copy
Lock Database
-------------
Lock id:  0A000004            PID:    0001000F   Flags: VALBLK  CONVERT SYNCSTS
Par. id:  00000000            SUBLCKs:       0          SYSTEM  NODLCKW NODLCKB
LKB:      FFFFFFFF.7DF48350   BLKAST: 81190420          QUECVT
Priority:     0000
Granted at    EX   00000000-FFFFFFFF
RSB:               FFFFFFFF.7DF50850
Resource:          004F0FDF 24534D52  RMS$ß.O.  Status: VALBLKR VALBLKW
 Length   26       5F313039 58020000  ...X901_
 Exec. mode        00202020 204C354B  K5L    .
 System            00000000 00000000  ........
Local copy
   .
   .
   .
      
      
     | 
   
 
  
  
    | #2 | 
   
    
       
      
SDA>  SHOW RESOURCES/LOCKID=0A000004
Resource Database
-----------------
RSB:         FFFFFFFF.7DF50850  GGMODE:     EX  Status: DIRENTR VALID
Parent RSB:  00000000.00000000  CGMODE:     EX
Sub-RSB count:      0           FGMODE:     EX
Lock Count:         1           RQSEQNM:  0000
BLKAST count:       1           CSID: 00000000  (MILADY)
Resource:          004F0FDF 24534D52  RMS$ß.O.  Valblk: 00000000 00000000
 Length   26       5F313039 58020000  ...X901_          00000000 00000000
 Exec. mode        00202020 204C354B  K5L    .
 System            00000000 00000000  ........  Seqnum: 00000000
Granted queue (Lock ID / Gr mode / Range):
 0A000004  EX 00000000-FFFFFFFF
Conversion queue (Lock ID / Gr mode / Range -> Rq mode / Range):
     *** EMPTY QUEUE ***
Waiting queue (Lock ID / Rq mode / Range):
     *** EMPTY QUEUE ***
      
      
     | 
   
 
This SDA session shows the output of the SHOW LOCKS command for several
locks. The SHOW RESOURCES command, executed for the last displayed
lock, verifies that the lock is in the resource's granted queue. (See
Table 4-25 for a full explanation of the contents of the display of
the SHOW RESOURCES 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
CPU 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
CPU indicated by cpu-id the current CPU for subsequent
SDA commands. (See the description of the SET CPU command and
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 you do not specify a qualifier, 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.
  
  
  
		 |