You could use the "elapsed" time info from ps.
ps -C rsyslogd -o etime
will show you the "elapsed" time from the process with the name "rsyslogd"
(Dont use ps together with "grep" - there is no need to do this and will often result in errors/failures - specially when there are kill-commands...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.