db_stat



NAME

       db_stat - display DB statistics


SYNOPSIS

       db_stat [-m] [-d file] [-h home]


DESCRIPTION

       The  db_stat  utility  displays statistics for DB environ-
       ments.

       The options are as follows:

       -d   Display  database  statistics   for   the   specified
            database, as described in db_open(3).

       -h   Specify a home directory for the database.

       -m   Display  shared  memory  buffer  pool  statistics  as
            described in db_mpool(3).

       -t   Display transaction region statistics as described in
            db_txn(3).

       The  db_stat utility attaches to DB shared memory regions.
       In order to avoid region corruption, it should  always  be
       given  the chance to detach and exit gracefully.  To cause
       db_stat to clean up after itself  and  exit,  send  it  an
       interrupt signal (SIGINT).

       The db_stat utility exits 0 on success, and >0 if an error
       occurs.


ENVIRONMENT VARIABLES

       The following environment variables affect  the  execution
       of db_stat:

       DB_HOME
            If the -h option is not specified and the environment
            variable DB_HOME is set, it is used as  the  path  of
            the database home, as described in db_appinit(3).


SEE ALSO

       The  DB  library  is  a family of groups of functions that
       provides a modular programming interface  to  transactions
       and  record-oriented  file  access.   The library includes
       support for transactions, locking, logging and  file  page
       caching,  as well as various indexed access methods.  Many
       of the functional groups  (e.g.,  the  file  page  caching
       functions)  are  useful  independent of the other DB func-
       tions, although  some  functional  groups  are  explicitly
       based  on  other functional groups (e.g., transactions and
       logging).  For a general description of  the  DB  package,
       see db_intro(3).

       db_archive(1), db_checkpoint(1), db_deadlock(1), db_dump(1),
       db_intro(3), db_load(1), db_recover(1), db_stat(1),
       db_appinit(3), db_cursor(3), db_dbm(3), db_lock(3), db_log(3),
       db_mpool(3), db_open(3), db_txn(3)