Quote of the week:
“Problems are not stop signs, they are guidelines.” ~ Robert H. Schuller
/home/httpd/html/ |
Current File : /home/httpd/html/mojo-check-load.php |
<?php $load = sys_getloadavg(); $maxload = 5; if ($load[0] > $maxload) { echo 'Loads are high, please investigate.<br />Load Average: '.$load[0]; } else { echo 'OK<br />Load Average: '.$load[0]; } ?>