Patch #657889: Implement posix.getloadavg.

This commit is contained in:
Martin v. Löwis 2002-12-27 10:16:42 +00:00
parent 8702d5f33f
commit 438b534ad0
5 changed files with 44 additions and 5 deletions

View file

@ -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,