- u_async.c: process immediate_queue BEFORE epoll_wait in uasync_poll - stcp_link.c: defensive NULL etcp_conn/etcp_link in stcp_link_close - utun_instance.c: move stcp_server_list_destroy_all to Phase J (before ETCP), add deferred drain in both Phase J and L - stcp.h/c: STCP_HS_ENC_CLIENT 6→38, STCP_HS_ENC_SERVER 7→39, exchange ed25519_pubkey in both handshake directions - etcp_connections.c: copy peer_ed25519 from STCP to ETCP_CONN in etcp_link_enter_ready_tcp; guard link->etcp in tcp_link_close_cb - chat_sync.c: fix lk->conn NULL dereference for TCP links - test_stcp.c: update stcp_server_create/stcp_client_connect callsites - tools/chat_tcp_test: change transport udp→tcp
65 lines
1.7 KiB
Groff
65 lines
1.7 KiB
Groff
.TH MDB_STAT 1 "2015/09/30" "LMDB 0.9.17"
|
|
.\" Copyright 2012-2021 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
|
|
[\c
|
|
.BR \-V ]
|
|
[\c
|
|
.BR \-e ]
|
|
[\c
|
|
.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, 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
|
|
.BR \-s \ subdb
|
|
Display the status of a specific subdatabase.
|
|
.SH DIAGNOSTICS
|
|
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.
|
|
.SH "SEE ALSO"
|
|
.BR mdb_copy (1)
|
|
.SH AUTHOR
|
|
Howard Chu of Symas Corporation <http://www.symas.com>
|