Resource usage

Grzegorz Dostatni grzegorz at
Tue Jan 28 18:47:14 CET 2003

I am writing a proof of concept script in python that will dynamically
allocate cpu's and memory on a 16 cpu computer.  The os is AIX 5.2, python

I've looked at the resource module, so I do know how to do those things

Here is what I am still lacking

1) How can I get the cpu load? Can I get cpu load per cpu?

2) The amount of free memory?

A pointer to somewhere within the documentation will be greatly
appreciated. I scanned throught the library, but was unable to find
anything that provided these two.


More information about the Python-list mailing list