]> git.sur5r.net Git - openldap/blob - libraries/liblmdb/mdb_stat.1
Add mdb_reader_list()
[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 ]
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 .TP
44 .BR \-a
45 Display the status of all of the subdatabases in the environment.
46 .TP
47 .BR \-s \ subdb
48 Display the status of a specific subdatabase.
49 .SH DIAGNOSTICS
50 Exit status is zero if no errors occur.
51 Errors result in a non-zero exit status and
52 a diagnostic message being written to standard error.
53 .SH "SEE ALSO"
54 .BR mdb_copy (1)
55 .SH AUTHOR
56 Howard Chu of Symas Corporation <http://www.symas.com>