UNIX ON-LINE Man Pages - Die Onlinehilfe

Die Syntax von Unixbefehlen wird in den entsprechenden Manpages dokumentiert. Hier können Sie diese Onlinehilfe für viele Standardbefehle abrufen.

Suchoptionen:
Seiten auflisten, welche beginnen mit:
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z   ALPHA   NUM   ANDERE   ALLE
GETLOADAVG(3)              Linux Programmer's Manual             GETLOADAVG(3)

NAME
       getloadavg - get system load averages

SYNOPSIS
       #define _BSD_SOURCE
       #include <stdlib.h>

       int getloadavg(double loadavg[], int nelem);

DESCRIPTION
       The getloadavg() function returns the number of processes in the system
       run queue averaged over various periods of time.  Up to  nelem  samples
       are  retrieved  and  assigned to successive elements of loadavg[].  The
       system imposes a maximum of 3 samples, representing averages  over  the
       last 1, 5, and 15 minutes, respectively.

RETURN VALUE
       If  the  load  average was unobtainable, -1 is returned; otherwise, the
       number of samples actually retrieved is returned.

VERSIONS
       This function is available in glibc since version 2.2.

CONFORMING TO
       Not in POSIX.1-2001.  Present on the BSDs and Solaris.

SEE ALSO
       uptime(1), proc(5), feature_test_macros(7)

COLOPHON
       This page is part of release 3.25 of the Linux  man-pages  project.   A
       description  of  the project, and information about reporting bugs, can
       be found at http://www.kernel.org/doc/man-pages/.

Linux                             2007-12-08                     GETLOADAVG(3)
 

Scannen Sie den Barcode um die Webseite zu öffnen


Quelle: http://www.trinler.net/de/service/doc/linux/man.html?command=getloadavg
Gedruckt am: 17.12.2017 15:04 GMT+0100 (2017-12-17T15:04:41+01:00)