On Wed, Aug 3, 2011 at 9:06 PM, Danny Wong (dannwong) <dannw...@cisco.com> wrote: > Hi all, > > I have 5 server machines that are using to process > information. I would like to write a quick server python script that > determines which of the machines are not in use. Any recommendations on > which python module I should use to detect if a machine is not performing > idle (ex. Some specific task is not running)?
Yes, psutil: http://code.google.com/p/psutil/ os.getloadavg() may or may not also be useful to you: http://docs.python.org/library/os.html#os.getloadavg Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list