Linux how long a process has been running?

Originally published at: https://www.cyberciti.biz/faq/how-to-check-how-long-a-process-has-been-running/

I’m a new Linux system user and developer running Ubuntu server. How do I check how long a process or pid has been running on my Ubuntu or CentOS Linux server?


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki