1MDB_STAT(1)                 General Commands Manual                MDB_STAT(1)
2
3
4

NAME

6       mdb_stat - LMDB environment status tool
7

SYNOPSIS

9       mdb_stat [-V] [-e] [-f[f[f]]] [-n] [-r[r]] [-a | -s subdb]  envpath
10

DESCRIPTION

12       The mdb_stat utility displays the status of an LMDB environment.
13

OPTIONS

15       -V     Write  the  library  version  number to the standard output, and
16              exit.
17
18       -e     Display information about the database environment.
19
20       -f     Display information about the environment freelist.  If  -ff  is
21              given, summarize each freelist entry.  If -fff is given, display
22              the full list of page IDs in the freelist.
23
24       -n     Display the status of an LMDB database which does not use subdi‐
25              rectories.
26
27       -r     Display  information  about the environment reader table.  Shows
28              the process ID, thread ID, and transaction ID  for  each  active
29              reader  slot.  The process ID and transaction ID are in decimal,
30              the thread ID is in hexadecimal. The transaction ID is displayed
31              as  "-" if the reader does not currently have a read transaction
32              open.  If -rr is given, check for stale entries  in  the  reader
33              table  and  clear  them.  The reader table will be printed again
34              after the check is performed.
35
36       -a     Display the status of all of the subdatabases  in  the  environ‐
37              ment.
38
39       -s subdb
40              Display the status of a specific subdatabase.
41

DIAGNOSTICS

43       Exit  status  is  zero if no errors occur.  Errors result in a non-zero
44       exit status and a diagnostic message being written to standard error.
45

SEE ALSO

47       mdb_copy(1)
48

AUTHOR

50       Howard Chu of Symas Corporation <http://www.symas.com>
51
52
53
54LMDB 0.9.17                       2015/09/30                       MDB_STAT(1)
Impressum