]> git.sur5r.net Git - openldap/blob - libraries/liblmdb/mdb_stat.1
Add initial mdb utility manpages
[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 ]]
13 [\c
14 .BR \-n ]
15 [\c
16 .BR \-a \ |
17 .BI \-s \ subdb\fR]
18 .SH DESCRIPTION
19 The
20 .B mdb_stat
21 utility displays the status of an LMDB environment.
22 .SH OPTIONS
23 .TP
24 .BR \-e
25 Display information about the database environment.
26 .TP
27 .BR \-f
28 Display information about the environment freelist. If \fB\-ff\fP is given,
29 display the full list of page IDs in the freelist.
30 .TP
31 .BR \-n
32 Display the status of an LMDB database which does not use subdirectories.
33 .TP
34 .BR \-a
35 Display the status of all of the subdatabases in the environment.
36 .TP
37 .BR \-s \ subdb
38 Display the status of a specific subdatabase.
39 .SH DIAGNOSTICS
40 Exit status is zero if no errors occur.
41 Errors result in a non-zero exit status and
42 a diagnostic message being written to standard error.
43 .SH "SEE ALSO"
44 .BR mdb_copy (1)
45 .SH AUTHOR
46 Howard Chu of Symas Corporation <http://www.symas.com>