### DB_ENV->stat_print |

`

###

    #include <db.h>

    int
    DB_ENV->stat_print(DB_ENV *dbenv, u_int32_t flags);

### Description: DB_ENV->stat_print

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

The DB_ENV->stat_print method may not be called before the DB_ENV->open method has been called.

The DB_ENV->stat_print method returns a non-zero error value on failure and 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

DB_ENV

### See Also

Database Environments and Related Methods`

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