"Flaper87" <[EMAIL PROTECTED]> wrote > i would like to know how can i capture the system process's status > with > python, i need to know if they are sleeping, zombie or runing.
The simplest route on Unix may be just to run ps using the subprocess.Popen object or os.popen. You can then parse the ps output. The OS topic of my tutor gives some examples of running ps using popen and Popen... HTH, -- Alan Gauld Author of the Learn to Program web site http://www.freenetpages.co.uk/hp/alan.gauld _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
