summaryrefslogtreecommitdiffstats
path: root/man3/getloadavg.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/getloadavg.3')
-rw-r--r--man3/getloadavg.322
1 files changed, 7 insertions, 15 deletions
diff --git a/man3/getloadavg.3 b/man3/getloadavg.3
index 1cdef1ce3..5be1ab96f 100644
--- a/man3/getloadavg.3
+++ b/man3/getloadavg.3
@@ -8,7 +8,7 @@
.\"
.\" 2007-12-08, mtk, Converted from mdoc to man macros
.\"
-.TH getloadavg 3 2022-12-15 "Linux man-pages 6.03"
+.TH getloadavg 3 2023-07-20 "Linux man-pages 6.05.01"
.SH NAME
getloadavg \- get system load averages
.SH LIBRARY
@@ -47,34 +47,26 @@ over the last 1, 5, and 15 minutes, respectively.
.SH RETURN VALUE
If the load average was unobtainable, \-1 is returned; otherwise,
the number of samples actually retrieved is returned.
-.\" .SH HISTORY
-.\" The
-.\" BR getloadavg ()
-.\" function appeared in
-.\" 4.3BSD Reno .
-.SH VERSIONS
-This function is available since glibc 2.2.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
-.ad l
-.nh
.TS
allbox;
lbx lb lb
l l l.
Interface Attribute Value
T{
+.na
+.nh
.BR getloadavg ()
T} Thread safety MT-Safe
.TE
-.hy
-.ad
.sp 1
.SH STANDARDS
-Not in POSIX.1.
-Present on the BSDs and Solaris.
-.\" mdoc seems to have a bug - there must be no newline here
+BSD.
+.SH HISTORY
+4.3BSD-Reno, Solaris.
+glibc 2.2.
.SH SEE ALSO
.BR uptime (1),
.BR proc (5)