lka subcommand

The lka subcommand displays VMM lock anchor data and data for the transaction blocks in the transaction block table. You can display individual entries of the transaction block table by providing a slot number or an effective address.

Format

lka [slot | effectiveaddress]

Parameters

Item Description
slot Specifies the slot number in the transaction block table to be displayed. This parameter must be a decimal value.
effectiveaddress Specifies the effective address of an entry in the transaction block table. Symbols, hexadecimal values, or hexadecimal expressions can be used to specify the address.

Other

lockanch, tblk

Examples

The following is an example of how to use the lka subcommand:

KDB(0)> lka

VMM LOCKANCH lkwseg  +000000

nexttid...... : 0000B210 freetid...... : 00000002 maxtid....... : 00000002
lwptr........ : D000B000 freelock..... : 00000006 morelocks.... : D000C000
syncwait..... : 00000000 tblkwait..... : 00000000 freewait..... : 00000000
lw_lock...... @ 006F08E0 00000000
tblk......... @ D0000024 lockhash..... @ D000A024
  @tblk[0] lkwseg  +000024
logtid.... 00000000 next...... 00000000 tid....... 00000000 flag...... 00000000
cpn....... 00000000 ceor...... 00000000 cxor...... 00000000 csn....... 00000000
waitsid... 00000000 waitline.. 00000000 locker.... 00000000 lsidx..... 00000000
gcw.elist. 00000000 gcw.owner. 00000000 gcw.lock.. 00000000 gcw.boost. 00000000
logage.... 00000000 waitors... 00000000 cqnext.... 00000000
  @tblk[1] lkwseg  +000074  tblk[1].cqnext lkwseg  +0000C4
logtid.... 0000A72A next...... 00000003 tid....... 00000001 flag...... 0000002D
cpn....... 00001AC6 ceor...... 00000530 cxor...... 1D696F24 csn....... 00000003
waitsid... 00000000 waitline.. 00000000 locker.... 00000000 lsidx..... 0000008F
gcw.elist. FFFFFFFF gcw.owner. 00000000 gcw.lock.. 00000000 gcw.boost. 00000000
logage.... 00000000 waitors... 00000000 cqnext.... D00000C4
flag...... QUEUE COMMIT COMMITTED LEADER
  @tblk[2] lkwseg  +0000C4
(0)> more (^C to quit) ? 
logtid.... 0000B210 next...... 00000001 tid....... 00000002 flag...... 00000000
cpn....... 00000000 ceor...... 00000000 cxor...... 00000000 csn....... 00000000
waitsid... 00000000 waitline.. 00000000 locker.... 00000000 lsidx..... 0000008F
gcw.elist. FFFFFFFF gcw.owner. 00000000 gcw.lock.. 00000000 gcw.boost. 00000000
logage.... 00000000 waitors... 00000000 cqnext.... 00000000
KDB(0)>