Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Is there any simple way to show how long a specific PID instance has been active?

share|improve this question

Using the Powershell Get-Process cmdlet:

Get-Process | Select-Object id, starttime, name | Sort-Object id

share|improve this answer
interestingly - not all processes have a starttime – warren Oct 5 '15 at 19:29


I know that Process Explorer will show this, sort of.

Get it here:

If you run it, right click on a process and choose Properties it will show you the start time of the process (and you can click on the Threads tab there to see individual thread start times).

enter image description here

Alternatively in Process Explorer you can click View, Select Columns, choose the Process Performance tab, and choose Start Time and then it will show that column in the main window for all PIDs.

You might need to do your own math on the individual threads within that process (again the threads tab) and the current date/time to get a true "how long" answer.

share|improve this answer
Process Explorer solves the problem. – David Dai May 27 '15 at 2:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.