2022-07-04 20:32:08 +00:00
|
|
|
Description:
|
|
|
|
Return the current system load averages.
|
|
|
|
|
|
|
|
Files:
|
|
|
|
lib/getloadavg.c
|
|
|
|
m4/getloadavg.m4
|
|
|
|
|
|
|
|
Depends-on:
|
2022-07-09 15:05:14 +00:00
|
|
|
snippet/warn-on-use
|
2022-07-04 20:32:08 +00:00
|
|
|
extensions
|
|
|
|
intprops [test $HAVE_GETLOADAVG = 0]
|
|
|
|
stdbool [test $HAVE_GETLOADAVG = 0]
|
|
|
|
|
|
|
|
configure.ac:
|
2022-07-09 15:05:14 +00:00
|
|
|
gl_STDLIB_H
|
|
|
|
gl_STDLIB_H_REQUIRE_DEFAULTS
|
2022-07-04 20:32:08 +00:00
|
|
|
AC_REQUIRE([AC_CANONICAL_HOST])
|
|
|
|
gl_GETLOADAVG
|
|
|
|
gl_CONDITIONAL([GL_COND_OBJ_GETLOADAVG], [test $HAVE_GETLOADAVG = 0])
|
|
|
|
AM_COND_IF([GL_COND_OBJ_GETLOADAVG], [
|
|
|
|
gl_PREREQ_GETLOADAVG
|
|
|
|
])
|
|
|
|
gl_STDLIB_MODULE_INDICATOR([getloadavg])
|
|
|
|
|
|
|
|
Makefile.am:
|
|
|
|
if GL_COND_OBJ_GETLOADAVG
|
|
|
|
lib_SOURCES += getloadavg.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
Include:
|
|
|
|
<stdlib.h>
|
|
|
|
|
|
|
|
Link:
|
|
|
|
$(GETLOADAVG_LIBS)
|
|
|
|
|
|
|
|
License:
|
|
|
|
GPL
|
|
|
|
|
|
|
|
Maintainer:
|
|
|
|
Jim Meyering
|