Windows 7 or Server 2008 Show running time for a Process
Is there any simple way to show how long a specific PID instance has been active?
Using the Powershell Get-Process cmdlet:
Get-Process | Select-Object id, starttime, name | Sort-Object id
Gregg,
I know that Process Explorer will show this, sort of.
Get it here: http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
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).
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.