The IP is " . $_SERVER['SERVER_ADDR'] ." and may be reached using:
duke.iareserver.com
dimrod.iareserver.com

Services currently running on this server: "; exec("uptime", $system); // get the uptime stats exec("nproc",$nproc); $string = $system[0]; $uptime = explode(" ", $string); // break up the stats into an array $up_days = $uptime[3]; // grab the days from the array $hours = explode(":", $uptime[5]); // split up the hour:min in the stats //echo"
"; //print_r($uptime); //echo"
"; $up_hours = $hours[0]; // grab the hours $mins = $hours[1]; // get the mins $up_mins = str_replace(",", "", $mins); // strip the comma from the mins echo "
"; echo "The server has been up for " . $up_days . " days, " . $up_hours . " hours, and " . $up_mins . " minutes.
"; echo "Current Server time is " . $uptime[1] . " EST

"; echo "
"; echo "
Current Server Status
"; echo '

Load Averages last 24 hours
'; ?>