#include <db_cxx.h> int DbEnv::stat_print(u_int32_t flags);
         The DbEnv::stat_print() method displays 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 is 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.
            
        
    
For Berkeley DB SQL environment statistics, see Command Line Features Unique to dbsql.