{
    "mode": "man",
    "parameter": "DB5.3_STAT",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/DB5.3_STAT/1/json",
    "generated": "2026-06-16T10:10:36Z",
    "synopsis": "db5.3stat -d file [-fN] [-h home] [-P password] [-s database]\ndb5.3stat [-cEelmNrtVZ] [-C Aclop] [-h home] [-L A] [-M A] [-R A] [-P password]",
    "sections": {
        "NAME": {
            "content": "db5.3stat - Display statistics for Berkeley DB environments\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "db5.3stat -d file [-fN] [-h home] [-P password] [-s database]\n\ndb5.3stat [-cEelmNrtVZ] [-C Aclop] [-h home] [-L A] [-M A] [-R A] [-P password]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The db5.3stat utility displays statistics for Berkeley DB environments.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "-C     Display  internal  information about the locking subsystem.  (The output from this op-\ntion is often both voluminous and meaningless, and is intended only for debugging.)\n\nA      Display all information.\n\nc      Display lock conflict matrix.\n\nl      Display lockers within hash chains.\n\no      Display lock objects within hash chains.\n\np      Display locking subsystem parameters.\n\n-c     Display locking subsystem statistics, as described in DBENV->lockstat.\n\n-d     Display database statistics for the specified file, as described in DB->stat.\n\nIf the database contains multiple databases and the -s flag is not specified, the sta-\ntistics are for the internal database that describes the other databases the file con-\ntains, and not for the file as a whole.\n\n-E     Display internal information about the database environment, including all  configured\nsubsystems  of  the  database environment.  (The output from this option is often both\nvoluminous and meaningless, and is intended only for debugging.)\n\n-e     Display information about the database environment, including all  configured  subsys-\ntems of the database environment.\n\n-f     Display  only  those  database  statistics that can be acquired without traversing the\ndatabase.\n\n-h     Specify a home directory for the database environment; by default, the current working\ndirectory is used.\n\n-l     Display logging subsystem statistics, as described in DBENV->logstat.\n\n-M     Display  internal  information about the cache.  (The output from this option is often\nboth voluminous and meaningless, and is intended only for debugging.)\n\nA      Display all information.\n\nh      Display buffers within hash chains.\n\n-m     Display cache statistics, as described in DBENV->mempstat.\n\n-N     Do not acquire shared region mutexes while running.  Other problems,  such  as  poten-\ntially  fatal errors in Berkeley DB, will be ignored as well.  This option is intended\nonly for debugging errors, and should not be used under any other circumstances.\n\n-P     Specify an environment password.  Although Berkeley DB  utilities  overwrite  password\nstrings  as  soon as possible, be aware there may be a window of vulnerability on sys-\ntems where unprivileged users can see command-line arguments or  where  utilities  are\nnot able to overwrite the memory containing the command-line arguments.\n\n-R     Display  internal  information about the replication subsystem.  (The output from this\noption is often both voluminous and meaningless, and is intended only for debugging.)\n\nA      Display all information.\n\n-r     Display replication statistics, as described in DBENV->repstat.\n\n-s     Display statistics for the specified database contained in the file specified with the\n-d flag.\n\n-t     Display transaction subsystem statistics, as described in DBENV->txnstat.\n\n-V     Write the library version number to the standard output, and exit.\n\n-Z     Reset the statistics after reporting them; valid only with the -C, -c, -E, -e, -L, -l,\n-M, -m, -R, -r, and -t options.\n\nValues normally displayed in quantities of bytes are displayed as a combination of  gigabytes\n(GB),  megabytes (MB), kilobytes (KB), and bytes (B).  Otherwise, values smaller than 10 mil-\nlion are displayed without any special notation, and values larger than 10 million  are  dis-\nplayed as a number followed by \"M\".\n\nThe  db5.3stat  utility  may be used with a Berkeley DB environment (as described for the -h\noption, the environment variable DBHOME, or because the utility was run in a directory  con-\ntaining  a  Berkeley  DB environment).  In order to avoid environment corruption when using a\nBerkeley DB environment, db5.3stat should always be given the chance to detach from the  en-\nvironment  and exit gracefully.  To cause db5.3stat to release all environment resources and\nexit cleanly, send it an interrupt signal (SIGINT).\n\nThe db5.3stat utility exits 0 on success, and >0 if an error occurs.\n",
            "subsections": []
        },
        "ENVIRONMENT": {
            "content": "DBHOME\nIf the -h option is not specified and the environment variable DBHOME is set,  it  is\nused as the path of the database home, as described in DBENV->open.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Sleepycat  Software,  Inc.  This  manual page was created based on the HTML documentation for\ndbstat from Sleepycat, by Thijs Kinkhorst <thijs@kinkhorst.com>, for the Debian system  (but\nmay be used by others).\n\n28 January 2005                            DB5.3STAT(1)",
            "subsections": []
        }
    },
    "summary": "db5.3stat - Display statistics for Berkeley DB environments",
    "flags": [],
    "examples": [],
    "see_also": []
}