Oct 25, 2017

Check how long a process has been running?

ps -o etimes= -p "$$"

Where $$ is the PID of the process you want to check.