Check How Long a Process Has Been Running on Ubuntu with ps
Learn how to use the Linux ps command with the etime and etimes options to display the elapsed runtime of a specific process on an Ubuntu server, including finding the PID, formatting the output, and hiding headers for clean results.
