db_stat

db_stat -d file [-fN] [-h home] [-P password] [-s database]
db_stat [-cEelmNrtVxZ] [-C Aclop] [-h home] [-L A] [-M A] [-R A] [-P password]
Description

The db_stat utility displays statistics for Berkeley DB environments.

The options are as follows:


-C -c -d -E -e -f -h -l -M
A h
-m -N -P -R
A
-r -s -t -V -x -Z

Values normally displayed in quantities of bytes are displayed as a combination of gigabytes (GB), megabytes (MB), kilobytes (KB), and bytes (B). Otherwise, values smaller than 10 million are displayed without any special notation, and values larger than 10 million are displayed as a number followed by "M".

The db_stat utility may be used with a Berkeley DB environment (as described for the -h option, the environment variable DB_HOME, or because the utility was run in a directory containing a Berkeley DB environment). In order to avoid environment corruption when using a Berkeley DB environment, db_stat should always be given the chance to detach from the environment and exit gracefully. To cause db_stat to release all environment resources and exit cleanly, send it an interrupt signal (SIGINT).

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


Environment Variables
DB_HOME

Copyright (c) 1996,2008 Oracle. All rights reserved.