TEMPERATUREHIGHLEVEL) { ?> $y) $cpu[$x] = round($y / $total * 100, 1); $cpuusage = round($cpu['user'] + $cpu['sys'], 2); $output = shell_exec('grep -c processor /proc/cpuinfo'); $cpucores = $output; $output = shell_exec('cat /proc/uptime'); $uptime = format_time(substr($output,0,strpos($output," "))); $idletime = format_time((substr($output,strpos($output," ")))/$cpucores); ?>
System Info
CPU-Temperature CPU-Frequency System-Load CPU-Usage Uptime Idle
°C MHz %
= 30 and $cpuusage < 60) echo "progress-bar-warning"; if ($cpuusage >= 60) echo "progress-bar-danger"; ?>" role="progressbar" aria-valuenow="" aria-valuemin="0" aria-valuemax="100" style="width: %;">%