Discussion:
Is there a way to see how long a process has been running
(too old to reply)
Phillip Pi
2009-10-12 21:29:32 UTC
Permalink
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
-----------------------------------------------------
Email: ***@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.
unknown
2009-10-12 21:46:45 UTC
Permalink
Post by 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. :)
--
Phillip Pi
Senior Software Quality Assurance Analyst
Partner Engineering/Internet Service Provider/Symantec Online Services,
Consumer Business Unit
Symantec Corporation
www.symantec.com
-----------------------------------------------------
-----------------------------------------------------
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/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
http://www.pagestart.com
Ant
2009-10-13 13:42:50 UTC
Permalink
Post by unknown
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
'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. :)
--
"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: ***@earthlink.netANT
( ) or ***@zimage.com
Phil. (aka Ant) is currently not listening to any songs on his home
computer.
unknown
2009-10-13 13:45:52 UTC
Permalink
Post by Ant
Post by unknown
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
'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. :)
--
"Even the sharpest ear cannot hear an ant singing." --Sudanese
/\___/\
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
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
3c273
2009-10-12 22:58:58 UTC
Permalink
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
Post by 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. :)
--
Phillip Pi
Senior Software Quality Assurance Analyst
Partner Engineering/Internet Service Provider/Symantec Online Services,
Consumer Business Unit
Symantec Corporation
www.symantec.com
-----------------------------------------------------
-----------------------------------------------------
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.
Ant
2009-10-13 13:43:30 UTC
Permalink
Perfect and thanks. :)
Post by 3c273
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
Post by Phillip Pi
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: ***@earthlink.netANT
( ) or ***@zimage.com
Phil. (aka Ant) is currently not listening to any songs on his home
computer.
Richard
2009-10-18 01:14:31 UTC
Permalink
Post by 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. :)
--
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/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

Loading...