sys_getloadavg
get average system load
&reftitle.description;
arraysys_getloadavg
This function returns three samples representing the average system load
(the number of processes in the system run queue) over the last 1, 5 and 15
minutes, respectively.
¬e.no-windows;
&reftitle.returnvalues;
Returns an array with three samples (last 1, 5 and 15
minutes).
&reftitle.examples;
A sys_getloadavg example
80) {
header('HTTP/1.1 503 Too busy, try again later');
die('Server too busy. Please try again later.');
}
?>
]]>