carta
fb_lock_print(1)

fb_lock_print1

Information about firebird database locks

Overview

fb_lock_print is a tool for displaying the information from the Firebird lock system. These are useful when debugging lock contention/conflict/performance problems.

Options

-d database

Print lock information about the specified database.

-f lockfile

Print lock information from the specified lock file. Firebird lock files live in /tmp/firebird.

-o | -p

Print information about lock owner blocks. On by default.

-c

Consistency mode. Blocks the lock manager so that no changes to the lock blocks can be made while the information is gathered.

-l

Print information about lock blocks.

-r

Print information about lock request blocks.

-h

Print information about lock history.

-a

Print information about owner blocks, lock blocks, request blocks and history. Same as "-o -l -r -h"

-s num

Print information about lock series num.

-i[filter] interval count

Enter interactive mode and continuously display lock counters per second.

Possible filters are:

a

lock acquires

o

lock operations: enqueues, conversions, downgrades, dequeues, reads, writes and queries

t

lock operations by type.

w

lock waits

If no filter is given, all activity is shown.

interval is the interval in seconds between displays. count instructs fb_lock_print to exit after that many displays.

-w

Print recursive list of locks each lock waits for.

-m

HTML output.

History

  • Debian 12 (Bookworm): the text shown here
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)

From firebird3.0-server 3.0.11.33637.ds4-2+deb12u1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.