mirror of
https://github.com/nodejs/node.git
synced 2025-05-14 14:58:20 +00:00
doc: document os.loadavg() behavior on windows
The load average is a very UNIX-y concept. That's why os.loadavg() always returns zeros on Windows. Mention that in the documentation.
This commit is contained in:
parent
720675e7db
commit
56c5806da3
@ -41,6 +41,7 @@ Returns the system uptime in seconds.
|
||||
## os.loadavg()
|
||||
|
||||
Returns an array containing the 1, 5, and 15 minute load averages.
|
||||
This function always return `[0, 0, 0]` on Windows.
|
||||
|
||||
## os.totalmem()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user