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

  • Thread starter Thread starter Phillip Pi
  • Start date Start date
P

Phillip Pi

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.
smile.gif

--
Phillip Pi
Senior Software Quality Assurance Analyst
Partner Engineering/Internet Service Provider/Symantec Online Services,
Consumer Business Unit
Symantec Corporation
www.symantec.com
-----------------------------------------------------
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.
 
"Phillip Pi" wrote in message
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.
smile.gif

> --
> Phillip Pi
> Senior Software Quality Assurance Analyst
> Partner Engineering/Internet Service Provider/Symantec Online Services,
> Consumer Business Unit
> Symantec Corporation
> www.symantec.com
> -----------------------------------------------------
> 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.


To find and display a process and when it started try Process Explorer:
http://technet.microsoft.com/en-us/sysinte...s/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
http://www.pagestart.com
 
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" wrote in message
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.
smile.gif

> --
> Phillip Pi
> Senior Software Quality Assurance Analyst
> Partner Engineering/Internet Service Provider/Symantec Online Services,
> Consumer Business Unit
> Symantec Corporation
> www.symantec.com
> -----------------------------------------------------
> 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.
 
On 10/12/2009 2:46 PM PT, JS typed:

> To find and display a process and when it started try Process Explorer:
> http://technet.microsoft.com/en-us/sysinte...s/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.


Perfect and thanks.
smile.gif

--
"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: philpi@earthlink.netANT
( ) or ANTant@zimage.com
Phil. (aka Ant) is currently not listening to any songs on his home
computer.
 
Perfect and thanks.
smile.gif



On 10/12/2009 3:58 PM PT, 3c273 typed:

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

--
"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: philpi@earthlink.netANT
( ) or ANTant@zimage.com
Phil. (aka Ant) is currently not listening to any songs on his home
computer.
 
"Ant" wrote in message
news:e9J7PsATKHA.1792@TK2MSFTNGP04.phx.gbl...
> On 10/12/2009 2:46 PM PT, JS typed:
>
>> To find and display a process and when it started try Process Explorer:
>> http://technet.microsoft.com/en-us/sysinte...s/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.

>
> Perfect and thanks.
smile.gif

> --
> "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: philpi@earthlink.netANT
> ( ) or ANTant@zimage.com
> Phil. (aka Ant) is currently not listening to any songs on his home
> computer.

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

--
JS
http://www.pagestart.com
 
> "Phillip Pi" wrote in message
> 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.
smile.gif

> --
> Phillip Pi


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/sysinte...s/bb896653.aspx

VMMap
http://technet.microsoft.com/en-us/sysinte...s/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.
smile.gif

--Richard

ANSI-Ant (Yikes!
smile.gif

http://www.avbtab.org/rc/read/ansiant.htm
 
Back
Top