<?php $load = sys_getloadavg(); $maxload = 5; if ($load[0] > $maxload) { echo 'Loads are high, please investigate.'; } else { echo 'OK'; } ?>