X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=libraries%2Fliblmdb%2Fmdb_stat.1;h=351c017578aab651e8bdde53ff424569f036a5a4;hb=2b89f4baf16e40aa61fcd95311aaf341097bbd55;hp=205fc88deea3adca620cf74529b3d5e4d5e6248d;hpb=460a05bf787d06220c60c8c021b2b73e164447ab;p=openldap diff --git a/libraries/liblmdb/mdb_stat.1 b/libraries/liblmdb/mdb_stat.1 index 205fc88dee..351c017578 100644 --- a/libraries/liblmdb/mdb_stat.1 +++ b/libraries/liblmdb/mdb_stat.1 @@ -1,36 +1,54 @@ -.TH MDB_STAT 1 "2012/12/12" "LMDB 0.9.5" -.\" Copyright 2012 Howard Chu, Symas Corp. All Rights Reserved. +.TH MDB_STAT 1 "2014/06/20" "LMDB 0.9.14" +.\" Copyright 2012-2015 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 -.BR \-f [ f ]] +.BR \-f [ f [ f ]]] [\c .BR \-n ] [\c +.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 .BR \-f -Display information about the environment freelist. If \fB\-ff\fP is given, -display the full list of page IDs in the freelist. +Display information about the environment freelist. +If \fB\-ff\fP is given, summarize each freelist entry. +If \fB\-fff\fP is given, display the full list of page IDs in the freelist. .TP .BR \-n Display the status of an LMDB database which does not use subdirectories. .TP +.BR \-r +Display information about the environment reader table. +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. .TP