diff options
| author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-09-09 14:15:08 +0200 |
|---|---|---|
| committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-09-09 14:15:08 +0200 |
| commit | 96e72ec1fbadd13cbcbc2b263540e4f5e9e09d7c (patch) | |
| tree | 70686b943e33a6e939ad265acb7ddfef70b91f32 /man/man3/getloadavg.3 | |
| parent | 8f4ed6463206e8ede815c72085c7305dafc2e4fc (diff) | |
| download | man-pages-96e72ec1fbadd13cbcbc2b263540e4f5e9e09d7c.tar.gz | |
Revert "src.mk, All pages: Move man* to man/"
This reverts commit 70ac1c4785fc1e158ab2349a962dba2526bf4fbc.
Link: <https://lore.kernel.org/linux-man/YxcV4h+Xn7cd6+q2@pevik/T/>
Reported-by: Petr Vorel <pvorel@suse.cz>
Reported-by: Jakub Wilk <jwilk@jwilk.net>
Cc: Stefan Puiu <stefan.puiu@gmail.com>
Signed-off-by: Alex Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'man/man3/getloadavg.3')
| -rw-r--r-- | man/man3/getloadavg.3 | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/man/man3/getloadavg.3 b/man/man3/getloadavg.3 deleted file mode 100644 index f462d522d7..0000000000 --- a/man/man3/getloadavg.3 +++ /dev/null @@ -1,79 +0,0 @@ -.\" Copyright (c) 1989, 1991, 1993 -.\" The Regents of the University of California. All rights reserved. -.\" -.\" SPDX-License-Identifier: BSD-3-Clause -.\" -.\" @(#)getloadavg.3 8.1 (Berkeley) 6/4/93 -.\" -.\" 2007-12-08, mtk, Converted from mdoc to man macros -.\" -.TH GETLOADAVG 3 2021-03-22 "Linux man-pages (unreleased)" -.SH NAME -getloadavg \- get system load averages -.SH LIBRARY -Standard C library -.RI ( libc ", " \-lc ) -.SH SYNOPSIS -.nf -.B #include <stdlib.h> -.PP -.BI "int getloadavg(double " loadavg[] ", int " nelem ); -.fi -.PP -.RS -4 -Feature Test Macro Requirements for glibc (see -.BR feature_test_macros (7)): -.RE -.PP -.BR getloadavg (): -.nf - Since glibc 2.19: - _DEFAULT_SOURCE - In glibc up to and including 2.19: - _BSD_SOURCE -.fi -.SH DESCRIPTION -The -.BR getloadavg () -function returns the number of processes in the system run queue -averaged over various periods of time. -Up to -.I nelem -samples are retrieved and assigned to successive elements of -.IR loadavg[] . -The system imposes a maximum of 3 samples, representing averages -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 in glibc since version 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{ -.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 -.SH SEE ALSO -.BR uptime (1), -.BR proc (5) |
