How do I see running time in Linux?

Thanh Thảo

New member
How do I see running time in Linux?
Answer
You can use
ps command to check the time a particular process has been running. You need to first find process ID then use it to find elapsed time. Then use ps with options -o etime to find elapsed running time. etime option displays elapsed time since the process was started, in the form [[DD-]hh:]mm: ss.
 

Tìm kiếm

Back
Top