Is there a way to see how long a process has been running

Discussion in 'Windows Vista General Discussion' started by Phillip Pi, Oct 12, 2009.

  1. Phillip Pi

    Phillip Pi Guest

    Hello.

    Is there a way to see how long a process has been running in a current
    Windows session? For an example, how long has calc.exe been running
    since it started? I also don't mean its CPU time either that I see in
    Task Manager. I just want to know how when it started.

    Thank you in advance. :)
    --
    Phillip Pi
    Senior Software Quality Assurance Analyst
    Partner Engineering/Internet Service Provider/Symantec Online Services,
    Consumer Business Unit
    Symantec Corporation
    www.symantec.com
     
    Phillip Pi, Oct 12, 2009
    #1
    1. Advertisements

  2. Phillip Pi

    JS Guest

    To find and display a process and when it started try Process Explorer:
    http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

    Once you have Process Explorer installed and running:
    In the taskbar menu select 'View' and check:
    'Show Process Tree' and the 'Show Lower Pane' options.

    Next right click on any column and 'select columns'
    Now click on the 'Process Performance' tab and
    check the 'Start Time' box.
     
    JS, Oct 12, 2009
    #2
    1. Advertisements

  3. Phillip Pi

    3c273 Guest

    Process Explorer from the MS web site. Double click the process you are
    interested in and the start time is on the first tab.
    Louis
     
    3c273, Oct 12, 2009
    #3
  4. Phillip Pi

    Ant Guest

    Perfect and thanks. :)
    --
    "Even the sharpest ear cannot hear an ant singing." --Sudanese
    /\___/\
    / /\ /\ \ Phil/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Nuke ANT from e-mail address:
    ( ) or
    Phil. (aka Ant) is currently not listening to any songs on his home
    computer.
     
    Ant, Oct 13, 2009
    #4
  5. Phillip Pi

    Ant Guest

    Perfect and thanks. :)


    --
    "Even the sharpest ear cannot hear an ant singing." --Sudanese
    /\___/\
    / /\ /\ \ Phil/Ant @ http://antfarm.ma.cx (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
    \ _ / Nuke ANT from e-mail address:
    ( ) or
    Phil. (aka Ant) is currently not listening to any songs on his home
    computer.
     
    Ant, Oct 13, 2009
    #5
  6. Phillip Pi

    JS Guest

    You're welcome.
    Process Explorer has a lot of features so experiment/explorer a little.
     
    JS, Oct 13, 2009
    #6
  7. Phillip Pi

    Richard Guest

    Hi Phil,

    You have already discovered Process Explorer, which is an excellent
    investigative tool. There are a number of other web pages on Microsoft's
    Technet website with tips and pointers on using Process Explorer and other
    tools. There is also a fairly new tool called VMMap.

    Download Process Explorer from the Microsoft Technet website
    http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

    VMMap
    http://technet.microsoft.com/en-us/sysinternals/dd535533.aspx

    Sysinternals Forums Process Explorer
    http://forum.sysinternals.com/forum_topics.asp?FID=2

    Sysinternals Forums - FAQ - Common ProcessExplorer Issues
    http://forum.sysinternals.com/forum_posts.asp?TID=15922

    Sysinternals Forums - Process Explorer guide for newbies - Page 1
    http://forum.sysinternals.com/forum_posts.asp?TID=10998

    As an experiment, with Task Manager on the Processes tab, and using View,
    Select Columns, to include CPU time and Virtual Memory size, I activated
    calc.exe, and performed numerous rapid repeating calculations, even
    alternating between holding S key for Sine, and O key for Cosine, until
    each reached a dead end, and switching to the other. After more than 15
    minutes of that and other things, the CPU Time was still zero. With the
    repeating key alterations, the Mem Usage kept jumping up either 4K or 8K at
    a time. The VM Size also did some 4K and 8K jumps, but also 12K jumps.
    (Each memory page is 4K, so I expected some multiple of 4K in the results.)

    When the calc.exe Mem Usage was about 3,600K, I minimized it and it dropped
    all the way down to 240K. The VM Size stayed at 1,260K. Restoring the
    display of calc, and it jumped to 648K, and while I was recording that fact
    in my notes, it snuck up to 660K and stayed there. Still 1260K VM Usage.
    Next I pressed O key once for cosine, Mem Usage 832K, VM Usage 1264K. Once
    more and Mem 928K (snuck up to 932K while I typed 928,) VM still 1264K.

    Previously, I had thought that the System Idle Process CPU Time reflected
    the total time since the computer was last started, but noticed in one of
    the Sysinternals blogs that it records the inactive cpu time, so you would
    have to add the cpu times of all processes to get the total time since
    the computer was started. That cannot be done with Task Manager, because
    most of the processes presently in Task Manager show zero cpu time, and it
    has been more than 48 hours since I last restarted the computer. I suspect
    that they are not actually zero, but less than one.

    I'm using Windows XP-pro-SP3 with a 3GHz processor and 1GB RAM.

    FWIW. (For What It's Worth. :)
    --Richard

    ANSI-Ant (Yikes! :)
    http://www.avbtab.org/rc/read/ansiant.htm
     
    Richard, Oct 18, 2009
    #7
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.