/** * Prints server status information: processes, connections and traffic * * @param PMA_ServerStatusData $ServerStatusData Server status data * * @return string */ function PMA_getHtmlForServerStatus($ServerStatusData) { //display the server state General Information $retval = PMA_getHtmlForServerStateGeneralInfo($ServerStatusData); //display the server state traffic information $retval .= PMA_getHtmlForServerStateTraffic($ServerStatusData); //display the server state connection information $retval .= PMA_getHtmlForServerStateConnections($ServerStatusData); return $retval; }
/** * Prints server status information: processes, connections and traffic * * @param ServerStatusData $ServerStatusData Server status data * * @return string */ function PMA_getHtmlForServerStatus($ServerStatusData) { //display the server state General Information $retval = PMA_getHtmlForServerStateGeneralInfo($ServerStatusData); //display the server state traffic information $retval .= PMA_getHtmlForServerStateTraffic($ServerStatusData); //display the server state connection information $retval .= PMA_getHtmlForServerStateConnections($ServerStatusData); // display replication information if ($GLOBALS['replication_info']['master']['status'] || $GLOBALS['replication_info']['slave']['status']) { $retval .= PMA_getHtmlForReplicationInfo(); } return $retval; }