Manpages

Manpage of DB_STAT

DB_STAT

Section: User Commands (1)
Updated: May 10, 1998
Index
Return to Main Contents
 

NAME

db_stat - display DB statistics  

SYNOPSIS

db_stat [-clmNt]
      [-C Acfhlmo] [-d file] [-h home] [-M Ahlm]  

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 ``<number>M''.

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

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
ENVIRONMENT VARIABLES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 07:15:46 GMT, March 29, 2024