function loadavg
Jump to headingloadavg(): number[]
Returns an array containing the 1, 5, and 15 minute load averages.
The load average is a measure of system activity calculated by the operating system and expressed as a fractional number.
The load average is a Unix-specific concept. On Windows, the return value is
always [0, 0, 0]
.
Return Type Jump to heading
number[]