ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:performance:healthcheck

This is an old revision of the document!


healthCheck

Syntax
mixed healthCheck()

Description

The function healthCheckCli executes a single database health check pass and writes the information to an html format table. A valid performance monitoring The output provided is the same as that returns by healthCheckcli().

Usage

/*
* Connection to DB2 database
*/
 
$perf = newPerfMonitor($db);
echo $perf->healthCheckCli();
/*
  -- Ratios --  
            data cache hit ratio => 0
  -- Data Cache --
              data cache buffers => 1000
                 cache blocksize => 8192
                 data cache size => 8000K
  -- Connections --
             current connections => 7
*/

The following HTML is returned: Performance Health Check Screen

v5/performance/healthcheck.1440341597.txt.gz · Last modified: 2017/04/21 11:30 (external edit)