mdbx-tools: add support of page operations stat to mdbx_stat.

This commit is contained in:
Leonid Yuriev
2021-05-12 14:41:09 +03:00
parent 16d686bc42
commit c5268f1da7
3 changed files with 62 additions and 21 deletions

View File

@@ -12,6 +12,8 @@ mdbx_stat \- MDBX environment status tool
[\c
.BR \-q ]
[\c
.BR \-p ]
[\c
.BR \-e ]
[\c
.BR \-f [ f [ f ]]]
@@ -35,13 +37,18 @@ Write the library version number to the standard output, and exit.
.BR \-q
Be quiet.
.TP
.BR \-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).
.TP
.BR \-e
Display information about the database environment.
.TP
.BR \-f
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.
Display information about the environment GC.
If \fB\-ff\fP is given, summarize each GC/freelist entry.
If \fB\-fff\fP is given, display the full list of page IDs in the GC/freelist.
.TP
.BR \-r
Display information about the environment reader table.