23

Is there a way to determine the 'uptime' of a process in Windows. Disappointed to find that it is not one of the attributes available when using the Task Manager.

20

You can see this with Process Explorer. In the taskbar menu select View and check Show Process Tree and the Show Lower Pane options. Right click on any column and Select Columns, now click on the Process Performance tab and check the Start Time box.

  • 1
    Hey TiZon. This looks a really useful tool. Thanks – nick May 12 '11 at 10:12
  • Or you can right click, Properties and on Threads tab, there is start time. – Betlista Aug 11 '17 at 8:49
  • In the link, Download section, "Run now from Sysinternals Live", when running, the process tree is not clickable in the view. I have windows 7 enterprise, so maybe it is blocked by my firewall. – user3123159 Jan 17 '18 at 13:37
  • @Betlista, there is no threads tab in Properties – user3123159 Jan 17 '18 at 13:37
  • This answer is outdated. For Process Explorer v16.26, right click the process -> Properties -> Threads tab -> start time is listed below. No need to check Show Process Tree or Show Lower Pane. The Performance tab does not list start time any more. The lower pane isn't used to find the start time. – BurnsBA Jul 22 at 13:14
23

This can be done using Powershell.

Run it as admin and then execute

Get-Process | select name, starttime

You will get a list of all running processes and their start times

Referenced from: http://blogs.technet.com/b/heyscriptingguy/archive/2012/11/18/powertip-use-powershell-to-easily-see-process-start-time.aspx

  • I see values for most of the services but the one I want (w3wp) doesn't have a start time listed. – sirdank Jun 28 at 15:26
4

If you're on a server where you cannot install any external tool, you still can :

  1. Open the task manager
  2. Click on the process tab
  3. Locate your process
  4. Right click on it
  5. Select the Properties option

You can see a "creation date" right there, which should be the creation date of your process. With a simple substraction you can deduce the uptime.

  • 1
    This only works on Windows 8. If you are still on Windows 7, the Properties option shows properties of the running executable file, not of the process. – Klitos Kyriacou Mar 12 '15 at 12:28
  • 2
    Win 8.1 also shows executable file properties – TOP KEK May 29 '15 at 11:54
0

maybe you can try procxp http://technet.microsoft.com/en-us/sysinternals/bb896653

0

With the PID from Task Manager, you can use the following Powershell command with the implied -End (Get-Date):

New-Timespan -Start (Get-Process -Id PID).StartTime

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.