summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-12-27 10:16:42 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-12-27 10:16:42 (GMT)
commit438b534ad0e7522cadba20cd3aec41d02b2bc09b (patch)
treed8ee75a3b58dc7fdc4593b34c3b85b3c263ba068 /Doc/lib
parent8702d5f33ffb9c55b2372d3cd424b65e783c13ee (diff)
downloadcpython-438b534ad0e7522cadba20cd3aec41d02b2bc09b.zip
cpython-438b534ad0e7522cadba20cd3aec41d02b2bc09b.tar.gz
cpython-438b534ad0e7522cadba20cd3aec41d02b2bc09b.tar.bz2
Patch #657889: Implement posix.getloadavg.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libos.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 6674e88..2e0f8ae 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -1431,6 +1431,14 @@ This can be used to determine the set of names known to the system.
Availability: \UNIX.
\end{datadesc}
+\begin{funcdesc}{getloadavg}{}
+Return the number of processes in the system run queue averaged over
+the last 1, 5, and 15 minutes or raises OSError if the load average
+was unobtainable.
+
+\versionadded{2.3}
+\end{funcdesc}
+
\begin{funcdesc}{sysconf}{name}
Return integer-valued system configuration values.
If the configuration value specified by \var{name} isn't defined,