Home > PHP > Function > Misc. > sys_getloadavg()

sys_getloadavg()

sys_getloadavg - Gets system load average

Syntax

array sys_getloadavg ()

Arguments

-

Description

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.

Version

PHP 5.1.3

Return value

Returns an array with three samples (last 1, 5 and 15 minutes).