1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

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

Discussion in 'Windows Vista' 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. [​IMG]
    --
    Phillip Pi
    Senior Software Quality Assurance Analyst
    Partner Engineering/Internet Service Provider/Symantec Online Services,
    Consumer Business Unit
    Symantec Corporation

    -----------------------------------------------------
    Email:
    phillip_pi@symantec.comSYMC (remove SYMC to reply by e-mail)
    -----------------------------------------------------
    Please do NOT e-mail me for technical support. DISCLAIMER: The views
    expressed in this posting are mine, and do not necessarily reflect the
    views of my employer. Thank you.
     
  2. JS

    JS Guest

    "Phillip Pi" <phillip_pi@symantec.comSYMC> wrote in message
    news:umPpXM4SKHA.220@TK2MSFTNGP02.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > 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. [​IMG]
    > --
    > Phillip Pi
    > Senior Software Quality Assurance Analyst
    > Partner Engineering/Internet Service Provider/Symantec Online Services,
    > Consumer Business Unit
    > Symantec Corporation
    >
    > -----------------------------------------------------
    > Email:
    phillip_pi@symantec.comSYMC (remove SYMC to reply by e-mail)
    > -----------------------------------------------------
    > Please do NOT e-mail me for technical support. DISCLAIMER: The views
    > expressed in this posting are mine, and do not necessarily reflect the
    > views of my employer. Thank you.<!--colorc--><!--/colorc-->

    To find and display a process and when it started try Process Explorer:


    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
     
  3. 3c273

    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

    "Phillip Pi" <phillip_pi@symantec.comSYMC> wrote in message
    news:umPpXM4SKHA.220@TK2MSFTNGP02.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > 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. [​IMG]
    > --
    > Phillip Pi
    > Senior Software Quality Assurance Analyst
    > Partner Engineering/Internet Service Provider/Symantec Online Services,
    > Consumer Business Unit
    > Symantec Corporation
    >
    > -----------------------------------------------------
    > Email:
    phillip_pi@symantec.comSYMC (remove SYMC to reply by e-mail)
    > -----------------------------------------------------
    > Please do NOT e-mail me for technical support. DISCLAIMER: The views
    > expressed in this posting are mine, and do not necessarily reflect the
    > views of my employer. Thank you.<!--colorc--><!--/colorc-->
     
  4. Ant

    Ant Guest

  5. Ant

    Ant Guest

    Perfect and thanks. [​IMG]


    On 10/12/2009 3:58 PM PT, 3c273 typed:
    <!--coloro:blue--><span style="color:blue <!--/coloro-->
    > 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
    > <!--coloro:green--><span style="color:green <!--/coloro-->
    >> 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.<!--colorc--><!--/colorc--><!--colorc--><!--/colorc-->
    --
    "Even the sharpest ear cannot hear an ant singing." --Sudanese
    /\___/\
    / /\ /\ \ Phil/Ant @ (Personal Web Site)
    | |o o| | Ant's Quality Foraged Links (AQFL):

    \ _ / Nuke ANT from e-mail address:
    philpi@earthlink.netANT
    ( ) or ANTant@zimage.com
    Phil. (aka Ant) is currently not listening to any songs on his home
    computer.
     
  6. JS

    JS Guest

    "Ant" <ant@zimage.comANT> wrote in message
    news:e9J7PsATKHA.1792@TK2MSFTNGP04.phx.gbl...<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > On 10/12/2009 2:46 PM PT, JS typed:
    ><!--coloro:green--><span style="color:green <!--/coloro-->
    >> To find and display a process and when it started try Process Explorer:
    >>
    >>
    >> 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.<!--colorc--><!--/colorc-->
    >
    > Perfect and thanks. [​IMG]
    > --
    > "Even the sharpest ear cannot hear an ant singing." --Sudanese
    > /___/
    > / / / Phil/Ant @
    (Personal Web Site)
    > | |o o| | Ant's Quality Foraged Links (AQFL):

    > _ / Nuke ANT from e-mail address:
    philpi@earthlink.netANT
    > ( ) or ANTant@zimage.com
    > Phil. (aka Ant) is currently not listening to any songs on his home
    > computer.<!--colorc--><!--/colorc-->

    You're welcome.
    Process Explorer has a lot of features so experiment/explorer a little.

    --
    JS
     
  7. Richard

    Richard Guest

    > "Phillip Pi" <phillip_pi@symantec.comSYMC> wrote in message<!--coloro:blue--><span style="color:blue <!--/coloro-->
    > news:umPpXM4SKHA.220@TK2MSFTNGP02.phx.gbl...
    > 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. [​IMG]
    > --
    > Phillip Pi<!--colorc--><!--/colorc-->

    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


    VMMap


    Sysinternals Forums Process Explorer


    Sysinternals Forums - FAQ - Common ProcessExplorer Issues


    Sysinternals Forums - Process Explorer guide for newbies - Page 1


    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. [​IMG]
    --Richard

    ANSI-Ant (Yikes! [​IMG]
     

Share This Page