> shell out to perform the top command, parse the results, and report
> those values to the job controller.

I'd use vmstat rather than top since top is intended to run contuinuously 
whereas vmstat by default just returns a single line snapshot.

I don't know of any native python mechanism for obtaining cpu usage.

Alan G
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to