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.
pull/41362/head
Ben Noordhuis 2013-10-14 12:15:00 +01:00
parent 720675e7db
commit 56c5806da3
1 changed files with 1 additions and 0 deletions

View File

@ -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()