ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


reference:healthcheckcli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

reference:healthcheckcli [2015/08/22 19:30] – created mnewnhamreference:healthcheckcli [2015/08/23 16:48] (current) – removed mnewnham
Line 1: Line 1:
-====== healthCheckCli ====== 
-~~NOTOC~~ 
-<WRAP right box> 
-== Syntax == 
-  mixed healthCheckCli() 
-</WRAP> 
-===== 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 [[reference:healthcheck|healthCheck()]]. 
-===== Usage ===== 
-<code php> 
-/* 
-* 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 
-*/ 
-</code> 
- 
-  
reference/healthcheckcli.1440264612.txt.gz · Last modified: 2017/04/21 11:20 (external edit)