TEMPERATUREHIGHLEVEL && $cputemp !== NULL) { ?> $y) $cpu[$x] = round($y / $total * 100, 1); $cpuusage = round($cpu['user'] + $cpu['sys'], 2); showLapTime("cpuusage"); $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); showLapTime("idletime"); if (defined("SHOWPOWERSTATE")) { $pinStatus = trim(shell_exec("gpio -g read ".POWERONLINEPIN)); // Pin 18 } //returns 0 = low; 1 = high ?>
Power | CPU-Temperature | CPU-Frequency | System-Load | CPU-Usage | Uptime | Idle |
---|---|---|---|---|---|---|
°C | MHz | % |
|