source = $this->getSourceContext(); $this->blocks = [ 'content' => [$this, 'block_content'], ]; } protected function doGetParent(array $context) { // line 1 return "server/status/base.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 2 $context["active"] = "monitor"; // line 1 $this->parent = $this->loadTemplate("server/status/base.twig", "server/status/monitor/index.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 4 echo "
"; // line 26 echo \PhpMyAdmin\Html\Generator::getImage("b_chart"); echo " "; // line 27 echo _gettext("Add chart"); // line 28 echo " "; // line 30 echo \PhpMyAdmin\Html\Generator::getImage("b_tblops"); echo " "; // line 31 echo _gettext("Enable charts dragging"); // line 32 echo "
"; // line 36 echo _gettext("Refresh rate"); // line 37 echo "

"; // line 61 echo _gettext("Chart columns"); // line 62 echo "
"; // line 74 echo _gettext("Chart arrangement"); echo " "; // line 75 echo \PhpMyAdmin\Html\Generator::showHint(_gettext("The arrangement of the charts is stored to the browsers local storage. You may want to export it if you have a complicated set up.")); echo "
"; // line 78 echo _gettext("Import"); // line 79 echo " - "; // line 81 echo _gettext("Export"); // line 82 echo " - "; // line 84 echo _gettext("Reset to default"); // line 85 echo "

"; // line 91 echo _gettext("The phpMyAdmin Monitor can assist you in optimizing the server configuration and track down time intensive queries. For the latter you will need to set log_output to 'TABLE' and have either the slow_query_log or general_log enabled. Note however, that the general_log produces a lot of data and increases server load by up to 15%."); // line 94 echo "

env, ($context["image_path"] ?? null), "html", null, true); echo "ajax_clock_small.gif\" alt=\""; echo _gettext("Loading…"); echo "\">

"; // line 101 echo _gettext("Using the monitor:"); echo "

"; // line 103 echo _gettext("Your browser will refresh all displayed charts in a regular interval. You may add charts and change the refresh rate under 'Settings', or remove any chart using the cog icon on each respective chart."); // line 106 echo "

"; // line 108 echo _gettext("To display queries from the logs, select the relevant time span on any chart by holding down the left mouse button and panning over the chart. Once confirmed, this will load a table of grouped queries, there you may click on any occurring SELECT statements to further analyze them."); // line 111 echo "

"; // line 113 echo \PhpMyAdmin\Html\Generator::getImage("s_attention"); echo " "; // line 114 echo _gettext("Please note:"); echo "

"; // line 117 echo _gettext("Enabling the general_log may increase the server load by 5-15%. Also be aware that generating statistics from the logs is a load intensive task, so it is advisable to select only a small time span and to disable the general_log and empty its table once monitoring is not required any more."); // line 120 echo "







("; // line 179 echo _gettext("KiB"); echo ", "; // line 180 echo _gettext("MiB"); echo ")

"; // line 194 echo _gettext("Add this series"); echo " | "; // line 197 echo _gettext("Clear series"); echo "

"; // line 201 echo _gettext("Series in chart:"); // line 202 echo "
"; // line 204 echo _gettext("None"); echo "

"; // line 212 echo _gettext("Selected time range:"); // line 213 echo " -


"; // line 230 echo _gettext("Choose from which log you want the statistics to be generated from."); // line 231 echo "

"; // line 233 echo _gettext("Results are grouped by query text."); // line 234 echo "



"; // line 256 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(($context["form"] ?? null)); foreach ($context['_seq'] as $context["name"] => $context["value"]) { // line 257 echo " env, $context["name"], "html", null, true); echo "\" value=\""; echo twig_escape_filter($this->env, $context["value"], "html", null, true); echo "\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['name'], $context['value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 259 echo "
"; // line 262 echo \PhpMyAdmin\Html\MySQLDocumentation::show("general-thread-states"); echo "
"; // line 266 echo \PhpMyAdmin\Html\MySQLDocumentation::show("explain-output"); echo "
"; } public function getTemplateName() { return "server/status/monitor/index.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 534 => 266, 527 => 262, 522 => 259, 511 => 257, 507 => 256, 501 => 252, 492 => 250, 488 => 249, 473 => 237, 468 => 234, 466 => 233, 462 => 231, 460 => 230, 455 => 227, 453 => 226, 446 => 221, 444 => 220, 435 => 213, 433 => 212, 428 => 210, 419 => 204, 415 => 202, 413 => 201, 406 => 197, 400 => 194, 391 => 187, 389 => 186, 380 => 180, 376 => 179, 369 => 175, 363 => 171, 361 => 170, 353 => 164, 351 => 163, 330 => 145, 324 => 142, 318 => 138, 316 => 137, 307 => 131, 300 => 127, 294 => 124, 288 => 120, 286 => 117, 280 => 114, 276 => 113, 272 => 111, 270 => 108, 266 => 106, 264 => 103, 259 => 101, 248 => 95, 245 => 94, 243 => 91, 238 => 89, 232 => 85, 230 => 84, 226 => 82, 224 => 81, 220 => 79, 218 => 78, 212 => 75, 208 => 74, 194 => 62, 192 => 61, 185 => 56, 178 => 54, 175 => 53, 169 => 51, 163 => 49, 160 => 48, 157 => 47, 151 => 45, 145 => 43, 142 => 42, 140 => 41, 133 => 40, 129 => 39, 125 => 37, 123 => 36, 117 => 32, 115 => 31, 111 => 30, 107 => 28, 105 => 27, 101 => 26, 94 => 21, 92 => 20, 88 => 19, 84 => 17, 82 => 16, 78 => 15, 74 => 13, 72 => 12, 68 => 11, 64 => 9, 62 => 8, 58 => 7, 53 => 4, 49 => 3, 44 => 1, 42 => 2, 35 => 1,); } public function getSourceContext() { return new Source("", "server/status/monitor/index.twig", "/var/www/localhost/htdocs/phpmyadmin/templates/server/status/monitor/index.twig"); } }