ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


reference:healthcheckcli

This is an old revision of the document!


healthCheckCli

Syntax
mixed healthCheckCli()

Description

The function healthCheckCli() executes a single database health check pass and reports to the console. A valid performance monitoring The output provided is the same as that stored by the healthCheck().

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
*/
reference/healthcheckcli.1440264612.txt.gz ยท Last modified: 2017/04/21 11:20 (external edit)