zhengzheng / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

Load stat #249

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Proposal

Implement a interface to read the load average (1 min / 5 mins / 15 mins) of 
the system

On what platforms would this be available?

Any

Are there existent implementations we can use as an example?

uptime (on GNU/Linux)
# uptime
... load average: 0.10, 0.12, 0.13

Please provide any additional information below.

Original issue reported on code.google.com by nicolash...@gmail.com on 30 Jan 2012 at 2:00

GoogleCodeExporter commented 9 years ago
There's already os.getloadavg():
http://docs.python.org/library/os.html#os.getloadavg
Also, that's UNIX only and I doubt it can be emulated on Windows.

Original comment by g.rodola on 30 Jan 2012 at 2:05

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 6 Mar 2012 at 12:36