Skip to main content
loadavg - node__os.d.ts - Node documentation
function loadavg

Usage in Deno

```typescript import { loadavg } from "node:node__os.d.ts"; ```
loadavg(): 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

number[]