]> git.sur5r.net Git - openldap/blobdiff - libraries/liblmdb/mdb_stat.1
Happy New Year
[openldap] / libraries / liblmdb / mdb_stat.1
index f3431922ec743ed9fabebe44f1f4580d4d69075e..7c3f2846401a9efa0f9be669e87fd8a8248ac91b 100644 (file)
@@ -1,11 +1,12 @@
-.TH MDB_STAT 1 "2012/12/12" "LMDB 0.9.5"
-.\" Copyright 2012 Howard Chu, Symas Corp. All Rights Reserved.
+.TH MDB_STAT 1 "2015/09/30" "LMDB 0.9.17"
+.\" Copyright 2012-2018 Howard Chu, Symas Corp. All Rights Reserved.
 .\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
 .SH NAME
 mdb_stat \- LMDB environment status tool
 .SH SYNOPSIS
 .B mdb_stat
-.BR \ envpath
+[\c
+.BR \-V ]
 [\c
 .BR \-e ]
 [\c
@@ -13,16 +14,20 @@ mdb_stat \- LMDB environment status tool
 [\c
 .BR \-n ]
 [\c
-.BR \-r ]
+.BR \-r [ r ]]
 [\c
 .BR \-a \ |
 .BI \-s \ subdb\fR]
+.BR \ envpath
 .SH DESCRIPTION
 The
 .B mdb_stat
 utility displays the status of an LMDB environment.
 .SH OPTIONS
 .TP
+.BR \-V
+Write the library version number to the standard output, and exit.
+.TP
 .BR \-e
 Display information about the database environment.
 .TP
@@ -40,6 +45,9 @@ Shows the process ID, thread ID, and transaction ID for each active
 reader slot. The process ID and transaction ID are in decimal, the
 thread ID is in hexadecimal. The transaction ID is displayed as "-"
 if the reader does not currently have a read transaction open.
+If \fB\-rr\fP is given, check for stale entries in the reader
+table and clear them. The reader table will be printed again
+after the check is performed.
 .TP
 .BR \-a
 Display the status of all of the subdatabases in the environment.