You are here

function perfmon_get_mysqlstatus in Performance monitor 7

Same name and namespace in other branches
  1. 8 perfmon.module \perfmon_get_mysqlstatus()

Mysql status.

1 call to perfmon_get_mysqlstatus()
perfmon_get_mysql_performance_variables in ./perfmon.inc
Describes mysql performance variables.

File

./perfmon.inc, line 350
Stand-alone perfmon test system.

Code

function perfmon_get_mysqlstatus() {
  $mysqlstatus = db_query("SHOW GLOBAL STATUS")
    ->fetchAll();
  $result = perfmon_convert2array($mysqlstatus);
  return $result;
}