Node os.loadavg function | API Reference | Bun
BuildDocsReferenceGuidesBlogDiscord/
node:os/
loadavgFloadavg
Search the reference...
/
BuildDocsReferenceGuidesBlogDiscord/
node:os/
loadavgFloadavg
function
os.loadavgfunction
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].
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlog Toolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →