HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP Misc Reference : Check the system load average. If it is over 0.8, stop script and display a message
The sys_getloadavg() function returns the system load average.
This function returns an array with three numbers that represents the average system load over the last 1, 5 and 15 minutes.
Return Value: | Returns an array with three samples (last 1, 5 and 15 minutes) |
---|---|
PHP Version: | 5.1.3+ |
❮ PHP Misc Reference