"); exec("sensors -j", $out); $outp = implode("\n", $out); $outd = json_decode($outp, true); echo(round($outd["cpu_thermal-virtual-0"]["temp1"]["temp1_input"], 1)); ?>°C, 90) { echo("completely overheating!"); } else if ($outd["cpu_thermal-virtual-0"]["temp1"]["temp1_input"] > 60) { echo("starting to throttle!"); } else { echo("under normal temperatures"); }