How to retrieve the process start time (or uptime) in python

Posted by stanleyxu2005 on Stack Overflow See other posts from Stack Overflow or by stanleyxu2005
Published on 2010-04-08T07:11:54Z Indexed on 2010/04/08 7:13 UTC
Read the original article Hit count: 272

Filed under:
|
|

How to retrieve the process start time (or uptime) in python in Linux?

I only know, I can call "ps -p my_process_id -f" and then parse the output. But it is not cool.

© Stack Overflow or respective owner

Related posts about python

Related posts about uptime