2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * object the server status page: processes, connections and traffic
9 require_once 'libraries/common.inc.php';
10 require_once 'libraries/server_common.inc.php';
11 require_once 'libraries/ServerStatusData.class.php';
12 require_once 'libraries/server_status.lib.php';
18 $GLOBALS['replication_info'] = array();
19 $GLOBALS['replication_info']['master']['status'] = false;
20 $GLOBALS['replication_info']['slave']['status'] = false;
22 include_once 'libraries/replication.inc.php';
23 include_once 'libraries/replication_gui.lib.php';
29 $response = PMA_Response
::getInstance();
30 $response->addHTML('<div>');
32 $serverStatusData = new PMA_ServerStatusData();
33 $response->addHTML($serverStatusData->getMenuHtml());
34 if ($serverStatusData->dataLoaded
) {
35 $response->addHTML(PMA_getHtmlForServerStatus($serverStatusData));
39 __('Not enough privilege to view server status.')
43 $response->addHTML('</div>');