You are here

function perfmon_get_mysqlvariables in Performance monitor 7

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

Mysql variables.

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

File

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

Code

function perfmon_get_mysqlvariables() {
  $mysqlvariables = db_query("SHOW GLOBAL VARIABLES")
    ->fetchAll();
  $result = perfmon_convert2array($mysqlvariables);
  return $result;
}