Software: Apache. PHP/5.5.15 uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 SYSTEM Safe-mode: OFF (not secure) C:\phpMyAdmin1\libraries\ drwxrwxrwx |
Viewing file: Select action/file-type: status['Uptime']; $used_queries = $ServerStatusData->used_queries; $total_queries = array_sum($used_queries); $retval .= ' ';
/* l10n: Questions is the name of a MySQL Status variable */
$retval .= sprintf(
__('Questions since startup: %s'),
PMA_Util::formatNumber($total_queries, 0)
);
$retval .= ' ';
$retval .= PMA_Util::showMySQLDocu(
'server-status-variables',
false,
'statvar_Questions'
);
$retval .= '';
$retval .= PMA_getHtmlForServerStatusQueriesDetails($ServerStatusData);
return $retval;
}
/**
* Returns the html content for the query details
*
* @param PMA_ServerStatusData $ServerStatusData Server status data
*
* @return string
*/
function PMA_getHtmlForServerStatusQueriesDetails($ServerStatusData)
{
$hour_factor = 3600 / $ServerStatusData->status['Uptime'];
$used_queries = $ServerStatusData->used_queries;
$total_queries = array_sum($used_queries);
// reverse sort by value to show most used statements first
arsort($used_queries);
$odd_row = true;
//(- $ServerStatusData->status['Connections']);
$perc_factor = 100 / $total_queries;
$retval = ' |
' . __('Statements') . ' | '; $retval .= ''; /* l10n: # = Amount of queries */ $retval .= __('#'); $retval .= ' | '; $retval .= 'ø ' . __('per hour') . ' | '; $retval .= '% | '; $retval .= '
---|---|---|---|
' . htmlspecialchars($name) . ' | '; $retval .= ''; $retval .= htmlspecialchars(PMA_Util::formatNumber($value, 5, 0, true)); $retval .= ' | '; $retval .= ''; $retval .= htmlspecialchars( PMA_Util::formatNumber($value * $hour_factor, 4, 1, true) ); $retval .= ' | '; $retval .= ''; $retval .= htmlspecialchars( PMA_Util::formatNumber($value * $perc_factor, 0, 2) ); $retval .= ' | '; $retval .= '
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]-- |