Tuesday, December 04, 2012

How to check how long a process has been running


ps -p 64622 -o etime=

PID is 64622
Format is as follows:
16-19:18:35
DD-HH:MM:SS