Debian Codegraph @

external/db_drivers/liblmdb/mdb_stat.1

raw
1 .TH MDB_STAT 1 "2017/07/31" "LMDB 0.9.70"
2 .\" Copyright 2012-2019 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 [\c
9 .BR \-V ]
10 [\c
11 .BR \-e ]
12 [\c
13 .BR \-f [ f [ f ]]]
14 [\c
15 .BR \-n ]
16 [\c
17 .BR \-v ]
18 [\c
19 .BR \-r [ r ]]
20 [\c
21 .BR \-a \ |
22 .BI \-s \ subdb\fR]
23 .BR \ envpath
24 .SH DESCRIPTION
25 The
26 .B mdb_stat
27 utility displays the status of an LMDB environment.
28 .SH OPTIONS
29 .TP
30 .BR \-V
31 Write the library version number to the standard output, and exit.
32 .TP
33 .BR \-e
34 Display information about the database environment.
35 .TP
36 .BR \-f
37 Display information about the environment freelist.
38 If \fB\-ff\fP is given, summarize each freelist entry.
39 If \fB\-fff\fP is given, display the full list of page IDs in the freelist.
40 .TP
41 .BR \-n
42 Display the status of an LMDB database which does not use subdirectories.
43 .TP
44 .BR \-v
45 Use the previous environment state instead of the latest state.
46 This may be useful if the latest state has been corrupted.
47 .TP
48 .BR \-r
49 Display information about the environment reader table.
50 Shows the process ID, thread ID, and transaction ID for each active
51 reader slot. The process ID and transaction ID are in decimal, the
52 thread ID is in hexadecimal. The transaction ID is displayed as "-"
53 if the reader does not currently have a read transaction open.
54 If \fB\-rr\fP is given, check for stale entries in the reader
55 table and clear them. The reader table will be printed again
56 after the check is performed.
57 .TP
58 .BR \-a
59 Display the status of all of the subdatabases in the environment.
60 .TP
61 .BR \-s \ subdb
62 Display the status of a specific subdatabase.
63 .SH DIAGNOSTICS
64 Exit status is zero if no errors occur.
65 Errors result in a non-zero exit status and
66 a diagnostic message being written to standard error.
67 .SH "SEE ALSO"
68 .BR mdb_copy (1)
69 .SH AUTHOR
70 Howard Chu of Symas Corporation <http://www.symas.com>