====== healthCheck ======
~~NOTOC~~
== Syntax ==
mixed healthCheck()
===== Description =====
The method ''healthCheck()'' executes a single database health check pass and writes the information to an html format table. The output provided is the same as that returned by [[v5:performance:healthcheckcli|healthCheckcli()]].
There is no consistency between databases as to the information returned, as it is dependent on what information is publicly exposed by the database.
===== Usage =====
/*
* Connection to DB2 database
*/
$perf = newPerfMonitor($db);
echo $perf->healthCheck();
The following HTML is returned:
{{v5:performance:performance-healthcheck.png|Performance Health Check Screen}}