This question already has an answer here:

@  $ ps -o etime= -p "55548"

@  $ ps -o stime,time $$
08:40 00:00:00

Does this mean my process has running for >18 hours? What about the output of the second command?

marked as duplicate by muru, Rui F Ribeiro, Romeo Ninov, Archemar, YoMismo Sep 12 '18 at 9:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.