MAN page from Mandrake Other db-2.4.14-1.i386.rpm
DB_STAT
Section: User Commands (1)
Updated: May 10, 1998
Index NAME
db_stat - display DB statistics
SYNOPSIS
db_stat [
-clmNt]
[
-C Acfhlmo] [
-d file] [
-h home] [
-M Ahlm]
DESCRIPTION
The
db_statutility 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 indb_lock(3).
- -d
- Display database statistics for the specified database,as described indb_open(3).
- -h
- Specify a home directory for the database.
- -l
- Display log region statistics as described indb_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 indb_mpool(3).
- -N
- Don't acquire locks while displaying the statistics.This option is intended only for debugging corrupt regions and should notbe used under any other circumstances.
- -t
- Display transaction region statistics as described indb_txn(3).
Thedb_statutility 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 causedb_statto clean up after itself and exit,send it an interrupt signal (SIGINT).
Values smaller than 10 million are generally displayed withoutany special notation.Values larger than 10 million are normally displayed as ``<number>M''.
Thedb_statutility exits 0 on success, and >0 if an error occurs.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of
db_stat:
- DB_HOMEIf the-hoption is not specified and the environment variableDB_HOMEis set, it is used as the path of the database home, as described indb_appinit(3).
SEE ALSO
The DB library is a family of classes that provides a modularprogramming interface to transactions and record-oriented file access.The library includes support for transactions, locking, logging and filepage caching, as well as various indexed access methods.Many of the classes (e.g., the file page caching class)are useful independent of the other DB classes,although some classes are explicitly based on other classes(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_load(1),db_recover(1),db_stat(1),db_intro(3),db_internal(3),db_thread(3),Db(3),Dbc(3),DbEnv(3),DbException(3),DbInfo(3),DbLock(3),DbLockTab(3),DbLog(3),DbLsn(3),DbMpool(3),{DbMpoolFile(3),Dbt(3),DbTxn(3),DbTxnMgr(3)
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- ENVIRONMENT VARIABLES
- SEE ALSO
This document was created byman2html,using the manual pages.