Penguin
 
db_stat(1)
LikePages

DB_STAT

DB_STAT

NAME SYNOPSIS DESCRIPTION ENVIRONMENT VARIABLES SEE ALSO


NAME

db_stat - display DB statistics

SYNOPSIS

db_stat [__-clmNt__

[__-C Acfhlmo__ [__-d file__ [__-h home__ [unrenderable node]

DESCRIPTION

The db_stat utility displays statistics for DB environments.

The options are as follows:

-C

Display internal information about the lock region. (The output from this option is often both voluminous and meaningless, and is intended only for debugging.)

-A

Display all information.

-c

Display lock conflict matrix.

-f

Display lock and object free lists.

-l

Display lockers within hash chains.

-m

Display region memory information.

-o

Display objects within hash chains.

-c

Display lock region statistics as described in db_lock(3).

-d

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

-h

Specify a home directory for the database.

-l

Display log region statistics as described in db_log(3).

-M

Display internal information about the shared memory buffer pool. (The output from this option is often both voluminous and meaningless, and is intended only for debugging.)

-A

Display all information.

-h

Display buffers within hash chains.

-l

Display buffers within LRU chains.

-m

Display region memory information.

-m

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

-N

Don't acquire locks while displaying the statistics. This option is intended only for debugging corrupt regions and should not be used under any other circumstances.

-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).

Values smaller than 10 million are generally displayed without any special notation. Values larger than 10 million are normally displayed as ``

The db_stat utility exits 0 on success, and ''

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 functions, although some functional groups are explicitly based on other functional groups (e.g., transactions and logging).

db_archive(1), db_checkpoint(1), db_deadlock(1), db_dump(1), db_load(1), db_recover(1), db_stat(1),


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.