]> git.sur5r.net Git - openldap/blob - libraries/liblmdb/mdb_stat.1
Merge remote-tracking branch 'origin/mdb.master'
[openldap] / libraries / liblmdb / mdb_stat.1
1 .TH MDB_STAT 1 "2012/12/12" "LMDB 0.9.5"
2 .\" Copyright 2012 Howard Chu, Symas Corp. All Rights Reserved.
3 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
4 .SH NAME
5 mdb_stat \- LMDB environment status tool
6 .SH SYNOPSIS
7 .B mdb_stat
8 .BR \ envpath
9 [\c
10 .BR \-e ]
11 [\c
12 .BR \-f [ f [ f ]]]
13 [\c
14 .BR \-n ]
15 [\c
16 .BR \-r [ r ]]
17 [\c
18 .BR \-a \ |
19 .BI \-s \ subdb\fR]
20 .SH DESCRIPTION
21 The
22 .B mdb_stat
23 utility displays the status of an LMDB environment.
24 .SH OPTIONS
25 .TP
26 .BR \-e
27 Display information about the database environment.
28 .TP
29 .BR \-f
30 Display information about the environment freelist.
31 If \fB\-ff\fP is given, summarize each freelist entry.
32 If \fB\-fff\fP is given, display the full list of page IDs in the freelist.
33 .TP
34 .BR \-n
35 Display the status of an LMDB database which does not use subdirectories.
36 .TP
37 .BR \-r
38 Display information about the environment reader table.
39 Shows the process ID, thread ID, and transaction ID for each active
40 reader slot. The process ID and transaction ID are in decimal, the
41 thread ID is in hexadecimal. The transaction ID is displayed as "-"
42 if the reader does not currently have a read transaction open.
43 If \fB\-rr\fP is given, check for stale entries in the reader
44 table and clear them. The reader table will be printed again
45 after the check is performed.
46 .TP
47 .BR \-a
48 Display the status of all of the subdatabases in the environment.
49 .TP
50 .BR \-s \ subdb
51 Display the status of a specific subdatabase.
52 .SH DIAGNOSTICS
53 Exit status is zero if no errors occur.
54 Errors result in a non-zero exit status and
55 a diagnostic message being written to standard error.
56 .SH "SEE ALSO"
57 .BR mdb_copy (1)
58 .SH AUTHOR
59 Howard Chu of Symas Corporation <http://www.symas.com>