Berkeley DB: DbEnv::stat_print
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,Java,C,C++

### DbEnv::stat_print |

`

###

    #include <db_cxx.h>

    int
    DbEnv::stat_print(u_int32_t flags);

### Description: DbEnv::stat_print

The DbEnv::stat_print method returns the default statistical information. The information is printed to a specified output channel (see the DbEnv::set_msgfile method for more information), or passed to an application callback function (see the DbEnv::set_msgcall method for more information).

The DbEnv::stat_print method may not be called before the DbEnv::open method has been called.

The DbEnv::stat_print method either returns a non-zero error value or throws an exception that encapsulates a non-zero error value on failure, and returns 0 on success.

### Parameters

flags
  The flags parameter must be set to 0 or the following value:
  DB_STAT_ALL
    Display all available information.
  In addition, the following flag may be set by bitwise inclusively OR'ing it into the flags parameter:
  DB_STAT_SUBSYSTEM
    Display information for all configured subsystems.

### Class

DbEnv

### See Also

Database Environments and Related Methods`

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.