getloadavg(3) Library Functions Manual getloadavg(3) NOMBRE getloadavg - obtiene los promedios de carga del sistema BIBLIOTECA Biblioteca Estandar C (libc, -lc) SINOPSIS #include int getloadavg(double loadavg[], int nelem); Requisitos de Macros de Prueba de Caracteristicas para glibc (vease feature_test_macros(7)): getloadavg(): Since glibc 2.19: _DEFAULT_SOURCE In glibc up to and including 2.19: _BSD_SOURCE DESCRIPCION 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. VALOR DEVUELTO Si el promedio de carga no puede obtenerse, se devuelve -1; en otro caso, se devuelve el numero de muestras que se obtuvieron realmente. ATRIBUTOS Para obtener una explicacion de los terminos usados en esta seccion, vease attributes(7). +-----------------------------+--------------------+-------------------+ |Interfaz | Atributo | Valor | +-----------------------------+--------------------+-------------------+ |getloadavg() | Seguridad del hilo | Multi-hilo seguro | +-----------------------------+--------------------+-------------------+ ESTANDARES BSD. HISTORIAL 4.3BSD-Reno, Solaris. glibc 2.2. VEASE TAMBIEN uptime(1), proc(5) TRADUCCION La traduccion al espanol de esta pagina del manual fue creada por Miguel Perez Ibars Esta traduccion es documentacion libre; lea la GNU General Public License Version 3 o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. Si encuentra algun error en la traduccion de esta pagina del manual, envie un correo electronico a . Paginas de manual de Linux 6.06 31 Octubre 2023 getloadavg(3)