Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Activity Monitor lists how much CPU time a process has used over its lifetime, but is there a way to find out the date and time a process was started?

I'm curious because my Firefox hasn't updated for about a month because it hasn't been restarted. My machine uptime is about a month.

share|improve this question
up vote 2 down vote accepted

Use ps -o etime:

$ ps -o etime $(pgrep -x Finder)
$ ps -axco etime,command | grep Finder
01-22:19:00 Finder

01- = 1 day.

share|improve this answer

From the command line, ps -f <pid> seems to do the trick, although it only shows the date and not the time for an old process. There's probably an arcane flag to make the column wider.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .