reference/misc/functions/sys-getloadavg.xml
4411b371d0ba1d5faee06177a473f928716c2921
...
...
@@ -8,16 +8,21 @@
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
-
<type>array</type><methodname>sys_getloadavg</methodname>
11
+
<type class="union"><type>array</type><type>false</type></type><methodname>sys_getloadavg</methodname>
12
12
<void/>
13
13
</methodsynopsis>
14
14
<para>
15
15
Returns three samples representing the average system load
16
16
(the number of processes in the system run queue) over the last 1, 5 and 15
17
-
minutes, respectively.
17
+
minutes, respectively. Returns &false; on failure.
18
18
</para>
19
19
</refsect1>
20
20

21
+
<refsect1 role="parameters">
22
+
&reftitle.parameters;
23
+
&no.function.parameters;
24
+
</refsect1>
25
+

21
26
<refsect1 role="returnvalues">
22
27
&reftitle.returnvalues;
23
28
<para>
...
...
@@ -52,7 +57,6 @@ if ($load[0] > 0.80) {
52
57
</refsect1>
53
58

54
59
</refentry>
55
-

56
60
<!-- Keep this comment at the end of the file
57
61
Local variables:
58
62
mode: sgml
59
63