mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
Patch #657889: Implement posix.getloadavg.
This commit is contained in:
parent
8702d5f33f
commit
438b534ad0
5 changed files with 44 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue