On Thu, Apr 26, 2012 at 3:24 PM, Sean Carolan <[email protected]> wrote: > In bash you can do this to see if a process is running: > > [scarolan@kurobox:~/bin]$ kill -0 24275 > [scarolan@kurobox:~/bin]$ echo $? > 0 > > Is there a python equivalent? I tried using os.kill() but did not see > any way to capture the output. > _______________________________________________ > Tutor maillist - [email protected] > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor
I don't know the answer to your question, but I googled this article: http://www.ibm.com/developerworks/aix/library/au-python/ It talks about various sys admin things you can do with python. It might get you started -- Joel Goldstick _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
