NNAAMMEE db_stat - display DB statistics SSYYNNOOPPSSIISS ddbb__ssttaatt [--ccllmmNNtt] [--CC AAccffhhllmmoo] [--dd ffiillee] [--hh hhoommee] [--MM AAhhllmm] DDEESSCCRRIIPPTTIIOONN The _d_b___s_t_a_t utility displays statistics for DB environ- ments. The options are as follows: --CC Display internal information about the lock region. (The output from this option is often both voluminous and meaningless, and is intended only for debugging.) --AA Display all information. --cc Display lock conflict matrix. --ff Display lock and object free lists. --ll Display lockers within hash chains. --mm Display region memory information. --oo Display objects within hash chains. --cc Display lock region statistics as described in _d_b___l_o_c_k(3). --dd Display database statistics for the specified database, as described in _d_b___o_p_e_n(3). --hh Specify a home directory for the database. --ll Display log region statistics as described in _d_b___l_o_g(3). --MM Display internal information about the shared memory buffer pool. (The output from this option is often both voluminous and meaningless, and is intended only for debugging.) --AA Display all information. --hh Display buffers within hash chains. --ll Display buffers within LRU chains. --mm Display region memory information. --mm Display shared memory buffer pool statistics as described in _d_b___m_p_o_o_l(3). --NN Don't acquire locks while displaying the statistics. This option is intended only for debugging corrupt regions and should not be used under any other cir- cumstances. --tt Display transaction region statistics as described in _d_b___t_x_n(3). The _d_b___s_t_a_t utility attaches to DB shared memory regions. In order to avoid region corruption, it should always be given the chance to detach and exit gracefully. To cause _d_b___s_t_a_t to clean up after itself and exit, send it an interrupt signal (SIGINT). Values smaller than 10 million are generally displayed without any special notation. Values larger than 10 mil- lion are normally displayed as ``M''. The _d_b___s_t_a_t utility exits 0 on success, and >0 if an error occurs. EENNVVIIRROONNMMEENNTT VVAARRIIAABBLLEESS The following environment variables affect the execution of _d_b___s_t_a_t: DB_HOME If the --hh option is not specified and the environment variable _D_B___H_O_M_E is set, it is used as the path of the database home, as described in _d_b___a_p_p_i_n_i_t(3). SSEEEE AALLSSOO The DB library is a family of groups of functions that provides a modular programming interface to transactions and record-oriented file access. The library includes support for transactions, locking, logging and file page caching, as well as various indexed access methods. Many of the functional groups (e.g., the file page caching functions) are useful independent of the other DB func- tions, although some functional groups are explicitly based on other functional groups (e.g., transactions and logging). For a general description of the DB package, see _d_b___i_n_t_r_o(3). _d_b___a_r_c_h_i_v_e(1), _d_b___c_h_e_c_k_p_o_i_n_t(1), _d_b___d_e_a_d_l_o_c_k(1), _d_b___d_u_m_p(1), _d_b___l_o_a_d(1), _d_b___r_e_c_o_v_e_r(1), _d_b___s_t_a_t(1), _d_b___i_n_t_r_o(3), _d_b___a_p_p_i_n_i_t(3), _d_b___c_u_r_s_o_r(3), _d_b___d_b_m(3), _d_b___i_n_t_e_r_n_a_l(3), _d_b___l_o_c_k(3), _d_b___l_o_g(3), _d_b___m_p_o_o_l(3), _d_b___o_p_e_n(3), _d_b___t_h_r_e_a_d(3), _d_b___t_x_n(3)