|
|
| |
MDBX_STAT(1) |
FreeBSD General Commands Manual |
MDBX_STAT(1) |
mdbx_stat - MDBX environment status tool
mdbx_stat [-V] [-q] [-p] [-e]
[-f[f[f]]] [-r[r]] [-a |
-s subdb] dbpath [-n]
The mdbx_stat utility displays the status of an MDBX environment.
- -V
- Write the library version number to the standard output, and exit.
- -q
- Be quiet.
- -p
- Display overall statistics of page operations of all (running, completed
and aborted) transactions in the current multi-process session (since the
first process opened the database after everyone had previously closed
it).
- -e
- Display information about the database environment.
- -f
- Display information about the environment GC. If -ff is given,
summarize each GC/freelist entry. If -fff is given, display the
full list of page IDs in the GC/freelist.
- -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 -rr 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.
- -a
- Display the status of all of the subdatabases in the environment.
- -s subdb
- Display the status of a specific subdatabase.
- -n
- Display the status of an MDBX database which does not use subdirectories.
This is legacy option. For now MDBX handles this automatically for
existing databases, but may be required while creating new.
Exit status is zero if no errors occur. Errors result in a non-zero exit status
and a diagnostic message being written to standard error.
mdbx_chk(1), mdbx_copy(1), mdbx_dump(1),
mdbx_load(1) mdbx_drop(1)
Howard Chu of Symas Corporation <http://www.symas.com>, Leonid Yuriev
<https://github.com/erthink>
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |