Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MDBX_STAT(1)		    General Commands Manual		  MDBX_STAT(1)

NAME
       mdbx_stat - MDBX	environment status tool

SYNOPSIS
       mdbx_stat  [-V]	[-q]  [-e]  [-f[f[f]]] [-r[r]] [-a | -s	subdb]	dbpath
       [-n]

DESCRIPTION
       The mdbx_stat utility displays the status of an MDBX environment.

OPTIONS
       -V     Write the	library	version	number to  the	standard  output,  and
	      exit.

       -q     Be quiet.

       -e     Display information about	the database environment.

       -f     Display  information  about the environment freelist.  If	-ff is
	      given, summarize each freelist entry.  If	-fff is	given, display
	      the full list of page IDs	in the 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 af-
	      ter the check is performed.

       -a     Display the status of all	of the subdatabases  in	 the  environ-
	      ment.

       -s subdb
	      Display the status of a specific subdatabase.

       -n     Display the status of an MDBX database which does	not use	subdi-
	      rectories.  This is legacy option. For now MDBX handles this au-
	      tomatically  for	existing  databases, but may be	required while
	      creating new.

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.

SEE ALSO
       mdbx_chk(1), mdbx_copy(1), mdbx_dump(1),	mdbx_load(1)

AUTHOR
       Howard  Chu  of Symas Corporation <http://www.symas.com>, Leonid	Yuriev
       <https://github.com/erthink>

MDBX 0.9.1			  2020-09-25			  MDBX_STAT(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | DIAGNOSTICS | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=mdbx_stat&sektion=1&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help