1
.\" Manual Page for Berkely DB utils, created from upstream
2
.\" documentation by Thijs Kinkhorst <thijs@kinkhorst.com>.
3
.TH DB4.3_STAT 1 "28 January 2005"
5
db4.3_stat \- Display statistics for Berkeley DB environments
8
-d file [-fN] [-h home] [-P password] [-s database]
11
[-cEelmNrtVZ] [-C Aclop] [-h home] [-L A] [-M A] [-R A] [-P password]
13
The db4.3_stat utility displays statistics for Berkeley DB environments.
16
Display internal information about the locking subsystem. (The output
17
from this option is often both voluminous and meaningless, and is
18
intended only for debugging.)
21
Display all information.
23
Display lock conflict matrix.
25
Display lockers within hash chains.
27
Display lock objects within hash chains.
29
Display locking subsystem parameters.
32
Display locking subsystem statistics, as described in DB_ENV->lock_stat.
34
Display database statistics for the specified file, as described in
37
If the database contains multiple databases and the \fB-s\fR flag is
38
not specified, the statistics are for the internal database that describes
39
the other databases the file contains, and not for the file as a whole.
41
Display internal information about the database environment, including
42
all configured subsystems of the database environment. (The
43
output from this option is often both voluminous and meaningless, and
44
is intended only for debugging.)
46
Display information about the database environment, including
47
all configured subsystems of the database environment.
49
Display only those database statistics that can be
50
acquired without traversing the database.
52
Specify a home directory for the database environment; by
53
default, the current working directory is used.
55
Display logging subsystem statistics, as described in DB_ENV->log_stat.
57
Display internal information about the cache. (The output from this
58
option is often both voluminous and meaningless, and is intended only
62
Display all information.
64
Display buffers within hash chains.
67
Display cache statistics, as described in DB_ENV->memp_stat.
69
Do not acquire shared region mutexes while running. Other problems,
70
such as potentially fatal errors in Berkeley DB, will be ignored as well.
71
This option is intended only for debugging errors, and should not be
72
used under any other circumstances.
74
Specify an environment password. Although Berkeley DB utilities overwrite
75
password strings as soon as possible, be aware there may be a window of
76
vulnerability on systems where unprivileged users can see command-line
77
arguments or where utilities are not able to overwrite the memory
78
containing the command-line arguments.
80
Display internal information about the replication subsystem. (The
81
output from this option is often both voluminous and meaningless, and
82
is intended only for debugging.)
85
Display all information.
88
Display replication statistics, as described in DB_ENV->rep_stat.
90
Display statistics for the specified database contained in the file
91
specified with the \fB-d\fR flag.
93
Display transaction subsystem statistics, as described in DB_ENV->txn_stat.
95
Write the library version number to the standard output, and exit.
97
Reset the statistics after reporting them; valid only with the \fB-C\fR,
98
\fB-c\fR, \fB-E\fR, \fB-e\fR, \fB-L\fR, \fB-l\fR,
99
\fB-M\fR, \fB-m\fR, \fB-R\fR, \fB-r\fR, and \fB-t\fR
102
Values normally displayed in quantities of bytes are displayed as a
103
combination of gigabytes (GB), megabytes (MB), kilobytes (KB), and bytes
104
(B). Otherwise, values smaller than 10 million are displayed without
105
any special notation, and values larger than 10 million are displayed
106
as a number followed by "M".
108
The db4.3_stat utility may be used with a Berkeley DB environment (as described for the
109
\fB-h\fR option, the environment variable \fBDB_HOME\fR, or
110
because the utility was run in a directory containing a Berkeley DB
111
environment). In order to avoid environment corruption when using a
112
Berkeley DB environment, db4.3_stat should always be given the chance to
113
detach from the environment and exit gracefully. To cause db4.3_stat
114
to release all environment resources and exit cleanly, send it an
115
interrupt signal (SIGINT).
117
The db4.3_stat utility exits 0 on success, and >0 if an error occurs.
120
If the \fB-h\fR option is not specified and the environment variable
121
DB_HOME is set, it is used as the path of the database home, as described
124
Sleepycat Software, Inc. This manual page was created based on
125
the HTML documentation for db_stat from Sleepycat,
126
by Thijs Kinkhorst <thijs@kinkhorst.com>,
127
for the Debian system (but may be used by others).