[Tutor] How do I make a process aware of ....

Michele Alzetta michele.alzetta at aliceposta.it
Wed Aug 11 12:47:20 CEST 2004

I would like to have a running python process become aware of
when a certain user logs in / logs out and of how long he has been 
connected ... any hints as to how this can be done ?

Any way of knowing when a process is running (more elegant and 
pythonic than "ps aux || grep program"") ?

Thnx !


More information about the Tutor mailing list