From 56c5806da36204e46b68e7f2c050242b0f635596 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Mon, 14 Oct 2013 12:15:00 +0100 Subject: [PATCH] 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. --- doc/api/os.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/os.markdown b/doc/api/os.markdown index ae620e895cd..177f4992494 100644 --- a/doc/api/os.markdown +++ b/doc/api/os.markdown @@ -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()