Browse Source

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.
v0.10.21-release
Ben Noordhuis 11 years ago
parent
commit
56c5806da3
  1. 1
      doc/api/os.markdown

1
doc/api/os.markdown

@ -41,6 +41,7 @@ Returns the system uptime in seconds.
## os.loadavg() ## os.loadavg()
Returns an array containing the 1, 5, and 15 minute load averages. Returns an array containing the 1, 5, and 15 minute load averages.
This function always return `[0, 0, 0]` on Windows.
## os.totalmem() ## os.totalmem()

Loading…
Cancel
Save