hostname(); $uptime = $system->uptime(); $cores = $system->processorCount(); // mem used $memused = $system->usedMemory(); $memused_status = "primary"; if ($memused > 90) { $memused_status = "danger"; } elseif ($memused > 75) { $memused_status = "warning"; } elseif ($memused > 0) { $memused_status = "success"; } // cpu load $cpuload = $system->systemLoadPercentage(); if ($cpuload > 90) { $cpuload_status = "danger"; } elseif ($cpuload > 75) { $cpuload_status = "warning"; } elseif ($cpuload > 0) { $cpuload_status = "success"; } ?>
showMessages(); ?>





%
%
" /> " />

" />