CPU Usage"); $graph_type = "cpu"; include ("includes/print-device-graph.php"); echo("
"); echo("
Memory Usage
"); $graph_type = "mem"; include ("includes/print-device-graph.php"); echo("
"); if(mysql_result(mysql_query("SELECT count(*) FROM temperature WHERE temp_host = '" . $device['device_id'] . "'"),0)) { echo("
Temperatures
"); $graph_type = "dev_temp"; include ("includes/print-device-graph.php"); echo("
"); } include("netstats.inc.php"); include("uptime.inc.php"); ?>