To re-add the Server Load Statistics
edit your index.php file and add this code after this
line:
echo _DRIVESPACE.':
<strong>'.formatFreeSpace($cfg["free_space"]).'</strong><br>';
New
code:
if ($cfg["show_server_load"])
{
if
(isFile($cfg["loadavg_path"]))
{
$loadavg_array = explode(" ", exec("cat
".$cfg["loadavg_path"]));
$loadavg =
$loadavg_array[2];
echo _SERVERLOAD.':
<strong>'.$loadavg.'</strong><br>';
}
elseif(exec("uname") === "FreeBSD")
{
$uptime=preg_replace("/.*load
averages:(.*)/", "$1", exec("uptime"));
echo _SERVERLOAD.':
<strong>'.$uptime.'</strong><br>';
}
}
else
{
echo _SERVERLOAD.':
<strong>n/a</strong><br>';
}
Hope that
helps