Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 04-28-2007, 04:15 AM
Gerard Verhoef
Newsgroup Contributor
 
Posts: n/a
Process explorer help please

Windows Task Managers shows that the system process takes up 80+ % of
the CPU-time. I read on several internet sites that a program called
"process explorer" is able to analyze the processes and threads the cpu
is working on. So I ran this utility.
I have a seemingly stupid question:
The process tree starts with the system Idle process as a root. One of
the branches atarts with the system process. In the CPU column it says
that system is talking up say 70.32 CPU (I interpret that as 70.32%).
The system branch splits up in sub branches. Some of the processes
mentioned there also have a number in the CPU column. I would expect
that those numbers would add up to the system CPU number, but is
doesn't. Not even close.
How do I interpret the numbers in the CPU column? How can I see which
process of the system process is taking all the cpu time?

Thanks for any help

Gerard Verhoef
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 04-28-2007, 04:15 AM
  #2 (permalink)  
Old 04-28-2007, 05:45 AM
Newbie Coder
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please

Gerard,

Is this the application you are talking about? If so, take a look on the
developers site

http://www.microsoft.com/technet/sys...sexplorer.mspx

--
Newbie Coder
(It's just a name)

"Gerard Verhoef" <Gerard_Verhoef********.com> wrote in message
news:ur3EfQYiHHA.596@TK2MSFTNGP06.phx.gbl...
> Windows Task Managers shows that the system process takes up 80+ % of
> the CPU-time. I read on several internet sites that a program called
> "process explorer" is able to analyze the processes and threads the cpu
> is working on. So I ran this utility.
> I have a seemingly stupid question:
> The process tree starts with the system Idle process as a root. One of
> the branches atarts with the system process. In the CPU column it says
> that system is talking up say 70.32 CPU (I interpret that as 70.32%).
> The system branch splits up in sub branches. Some of the processes
> mentioned there also have a number in the CPU column. I would expect
> that those numbers would add up to the system CPU number, but is
> doesn't. Not even close.
> How do I interpret the numbers in the CPU column? How can I see which
> process of the system process is taking all the cpu time?
>
> Thanks for any help
>
> Gerard Verhoef




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 04-28-2007, 06:45 AM
Gerard Verhoef
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please

Newbie Coder wrote:
> Gerard,
>
> Is this the application you are talking about? If so, take a look on the
> developers site
>
> http://www.microsoft.com/technet/sys...sexplorer.mspx
>

That indeed is the utility is am talking about. I read the site you
mentioned, but somehow I seem to miss the obvious. Also the Help tells
me that the numbers in the mentioned CPU column show the fractional CPU
usage process takes. But adding the branches doesnt make any sense to
me. And why would the system idle process be the root process of the
tree. I feel kinda stupid. Nothing is mentioned about that in help files
or whatever.

Thanks for your efforts though!

Gerard
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 04-28-2007, 09:15 AM
Dennis McCunney
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please

Gerard Verhoef wrote:
> Newbie Coder wrote:
>> Gerard,
>>
>> Is this the application you are talking about? If so, take a look on the
>> developers site
>>
>> http://www.microsoft.com/technet/sys...sexplorer.mspx

>
> That indeed is the utility is am talking about. I read the site you
> mentioned, but somehow I seem to miss the obvious.


Yes. See below.

> Also the Help tells
> me that the numbers in the mentioned CPU column show the fractional CPU
> usage process takes. But adding the branches doesnt make any sense to
> me. And why would the system idle process be the root process of the
> tree. I feel kinda stupid. Nothing is mentioned about that in help files
> or whatever.


*All* CPU time is owned by *something*. The System Idle Process is what
runs when nothing *else* is running. It's the idle loop Windows sits in
while waiting for something to do, which is why it shows as system root.
If you aren't doing anything else, Process Explorer may show it taking
95% - 98% of the CPU. That just means you aren't doing anything. :-)

Process Explorer is far more useful used to look at other things you run
to see what they are doing. and if you haven't discovered it yet, note
that you can sort any column by clicking on the column header, so you
can sort the CPU column by the processes that are taking up the most cycles.

> Thanks for your efforts though!
> Gerard

______
Dennis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 04-28-2007, 09:45 AM
Gerard Verhoef
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please

Dennis McCunney wrote:
> Gerard Verhoef wrote:
>> Newbie Coder wrote:
>>> Gerard,
>>>
>>> Is this the application you are talking about? If so, take a look on the
>>> developers site
>>>
>>> http://www.microsoft.com/technet/sys...sexplorer.mspx

>> That indeed is the utility is am talking about. I read the site you
>> mentioned, but somehow I seem to miss the obvious.

>
> Yes. See below.
>
>> Also the Help tells
>> me that the numbers in the mentioned CPU column show the fractional CPU
>> usage process takes. But adding the branches doesnt make any sense to
>> me. And why would the system idle process be the root process of the
>> tree. I feel kinda stupid. Nothing is mentioned about that in help files
>> or whatever.

>
> *All* CPU time is owned by *something*. The System Idle Process is what
> runs when nothing *else* is running. It's the idle loop Windows sits in
> while waiting for something to do, which is why it shows as system root.
> If you aren't doing anything else, Process Explorer may show it taking
> 95% - 98% of the CPU. That just means you aren't doing anything. :-)
>
> Process Explorer is far more useful used to look at other things you run
> to see what they are doing. and if you haven't discovered it yet, note
> that you can sort any column by clicking on the column header, so you
> can sort the CPU column by the processes that are taking up the most cycles.
>
>> Thanks for your efforts though!
>> Gerard

> ______
> Dennis



Excuse me for my ignorence, perhaps i wasn't clear enough. It isn't the
system Idle process I'm worries about. It is the system process.

I copied part of the process tree that process explorer provided.
Behind all processes there is a PID and a CPU-number

something like this:


- system idle
o interrupts
o DPCs
 System
smss.exe
csrss.exe
winlogon.exe
Services.exe
• Svchost.exe
o FxSrv2.exe
o NmIndexStoreSvr.exe
This tells met that everything that branches out of the system process
is a child process of system.

Sometimes the system process has a high CPU number (98 or something),but
none of the children processes are taking up much CPU time. Not
individually, nor as a whole.

I'd like to find out which child op system is causing the cpu hog.

Thanks!

Gerard
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 04-28-2007, 03:45 PM
Dennis McCunney
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please

Gerard Verhoef wrote:
> Dennis McCunney wrote:


>> *All* CPU time is owned by *something*. The System Idle Process is what
>> runs when nothing *else* is running. It's the idle loop Windows sits in
>> while waiting for something to do, which is why it shows as system root.
>> If you aren't doing anything else, Process Explorer may show it taking
>> 95% - 98% of the CPU. That just means you aren't doing anything. :-)
>>
>> Process Explorer is far more useful used to look at other things you run
>> to see what they are doing. And if you haven't discovered it yet, note
>> that you can sort any column by clicking on the column header, so you
>> can sort the CPU column by the processes that are taking up the most
>> cycles.

>
> Excuse me for my ignorence, perhaps i wasn't clear enough. It isn't the
> system Idle process I'm worries about. It is the system process.


Which version of Process Explorer are you running? I'm at 10.2. You
may be seeing something different than what I do.

> I copied part of the process tree that process explorer provided.
> Behind all processes there is a PID and a CPU-number
>
> something like this:


> - system idle
> o interrupts
> o DPCs
>  System
> smss.exe
> csrss.exe
> winlogon.exe
> Services.exe
> • Svchost.exe
> o FxSrv2.exe
> o NmIndexStoreSvr.exe
> This tells met that everything that branches out of the system process
> is a child process of system.


Correct.

> Sometimes the system process has a high CPU number (98 or something),but
> none of the children processes are taking up much CPU time. Not
> individually, nor as a whole.
>
> I'd like to find out which child op system is causing the cpu hog.


See my commentary above. The system process and the system idle process
are the *same* thing! The top level *is* the idle loop, which is what
Windows is in when nothing else is going on. If you see a high CPU
percentage there, the system is spending most of its time in the idle
loop. If a child process was taking up cycles, Process Explorer would
display it.

> Thanks!
> Gerard

______
Dennis
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 05-05-2007, 02:05 PM
Gerard Verhoef
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please

Dennis McCunney wrote:
> Gerard Verhoef wrote:
>> Dennis McCunney wrote:

>
>>> *All* CPU time is owned by *something*. The System Idle Process is what
>>> runs when nothing *else* is running. It's the idle loop Windows sits in
>>> while waiting for something to do, which is why it shows as system root.
>>> If you aren't doing anything else, Process Explorer may show it taking
>>> 95% - 98% of the CPU. That just means you aren't doing anything. :-)
>>>
>>> Process Explorer is far more useful used to look at other things you run
>>> to see what they are doing. And if you haven't discovered it yet, note
>>> that you can sort any column by clicking on the column header, so you
>>> can sort the CPU column by the processes that are taking up the most
>>> cycles.

>> Excuse me for my ignorence, perhaps i wasn't clear enough. It isn't the
>> system Idle process I'm worries about. It is the system process.

>
> Which version of Process Explorer are you running? I'm at 10.2. You
> may be seeing something different than what I do.
>
>> I copied part of the process tree that process explorer provided.
>> Behind all processes there is a PID and a CPU-number
>>
>> something like this:

>
>> - system idle
>> o interrupts
>> o DPCs
>>  System
>> smss.exe
>> csrss.exe
>> winlogon.exe
>> Services.exe
>> • Svchost.exe
>> o FxSrv2.exe
>> o NmIndexStoreSvr.exe
>> This tells met that everything that branches out of the system process
>> is a child process of system.

>
> Correct.
>
>> Sometimes the system process has a high CPU number (98 or something),but
>> none of the children processes are taking up much CPU time. Not
>> individually, nor as a whole.
>>
>> I'd like to find out which child op system is causing the cpu hog.

>
> See my commentary above. The system process and the system idle process
> are the *same* thing! The top level *is* the idle loop, which is what
> Windows is in when nothing else is going on. If you see a high CPU
> percentage there, the system is spending most of its time in the idle
> loop. If a child process was taking up cycles, Process Explorer would
> display it.
>
>> Thanks!
>> Gerard

> ______
> Dennis


I'm using the latest version (10.21) of process explorer.
I really don't understand in what way system idle and systen are the
same processe. They have different PID's and when the computer is busy,
system Idle has practically no CPU time. If system Idle is taking up
many cpu time, then the rest of the processes are low. For me that
implies that system idle and system are different and system isn't a
true part of system idle as well.

But then again: I guess I'm still missing something in understanding how
it all works.

To get my head cleared up: should the cpu time of sub processes add up
to the cpu time of the parent process? Should process explorer show
these numbers in that way?

Well.. thank again.

Gerard
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8 (permalink)  
Old 05-05-2007, 02:06 PM
Daave
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please

Gerard Verhoef wrote:
> I'm using the latest version (10.21) of process explorer.
> I really don't understand in what way system idle and systen are the
> same processe. They have different PID's and when the computer is
> busy, system Idle has practically no CPU time. If system Idle is
> taking up
> many cpu time, then the rest of the processes are low. For me that
> implies that system idle and system are different and system isn't a
> true part of system idle as well.
>
> But then again: I guess I'm still missing something in understanding
> how
> it all works.


Why don't you take a snapshot and post it to ImageShack?

Tomorrow I'll look at Process Explorer on my XP PC, but when I run it on
my 98 machine, there are no "children processes" under Idle. (And I
don't understand why it would be any other way.)


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #9 (permalink)  
Old 05-05-2007, 02:07 PM
Gerard Verhoef
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please

Daave wrote:

> Why don't you take a snapshot and post it to ImageShack?
>
> Tomorrow I'll look at Process Explorer on my XP PC, but when I run it on
> my 98 machine, there are no "children processes" under Idle. (And I
> don't understand why it would be any other way.)
>



Learnt something: I wasn't aware of ImageShack. That really is convinient.

I posted it at
http://img63.imageshack.us/img63/132...lorergvno9.jpg

As you see: System Idle seems to be the root process;
System process has now (only) 1.09 CPU
csrss.exe seems to be a child of system, but uses more cpu than system
itself.
In general: cpu values of child processes seem to have no relation with
cpu values ofthe parent process
So i cannot check why system process is taking up so much of the cpu
time (often, but apparently not now)


I think I am starting to grab my misconception. The cpu values are not
supposed to add up to the cpu value of the parent. They are taken
separately. I can understand that, but I started using process explorer
because I read on the net that it could help you to find out which of
the many child processes of "system" is responsible for my cpu hog.
That, as it seems now, I cannot find out, because it isn't a child
process, but the parent process itself (system) that every now and than
hogs my system.
There is no way looking inside the system process. At least not using
the process explorer.


Thanks for taking the time helping me

Gerard
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #10 (permalink)  
Old 05-05-2007, 02:09 PM
Daave
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please

"Daave" <dcwashNOSPAM@myrealboxXYZ.invalid> wrote in message
> news:u9wZ7$siHHA.680@TK2MSFTNGP06.phx.gbl...
> Tomorrow I'll look at Process Explorer on my XP PC, but when I run it
> on
> my 98 machine, there are no "children processes" under Idle. (And I
> don't understand why it would be any other way.)


Sure enough, instead of "Idle," it's called "System Idle Process" and it
indeed has three entities underneath:

Interrupts, DPCs, and System.

I stand corrected. :-)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #11 (permalink)  
Old 05-05-2007, 02:09 PM
Daave
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please

"Gerard Verhoef" <Gerard_Verhoef********.com> wrote in message
news:%23CCstMbiHHA.4904@TK2MSFTNGP05.phx.gbl...
> Sometimes the system process has a high CPU number (98 or
> something),but none of the children processes are taking up much CPU
> time. Not individually, nor as a whole.


If you right-click on System and select Properties, do you notice
anything of interest in the CPU Usage History?

I did look at the image you posted, by the way. As it was a snapshot in
time, I didn't notice anything hogging CPU memory. My understanding of
why all the CPU percentages don't add up to 100% exactly is that the CPU
is in constant flux.

What I would do is take a look at the CPU Usage History following a time
you notice a problem.

And what particular problems have you been noticing? How long has it
been occurring, and do you recall doing anything in particular prior to
these problems?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #12 (permalink)  
Old 05-05-2007, 02:10 PM
Gerard Verhoef
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please

Daave wrote:
> "Gerard Verhoef" <Gerard_Verhoef********.com> wrote in message
> news:%23CCstMbiHHA.4904@TK2MSFTNGP05.phx.gbl...
>> Sometimes the system process has a high CPU number (98 or
>> something),but none of the children processes are taking up much CPU
>> time. Not individually, nor as a whole.

>
> If you right-click on System and select Properties, do you notice
> anything of interest in the CPU Usage History?
>
> I did look at the image you posted, by the way. As it was a snapshot in
> time, I didn't notice anything hogging CPU memory. My understanding of
> why all the CPU percentages don't add up to 100% exactly is that the CPU
> is in constant flux.
>
> What I would do is take a look at the CPU Usage History following a time
> you notice a problem.
>
> And what particular problems have you been noticing? How long has it
> been occurring, and do you recall doing anything in particular prior to
> these problems?



I checked the event viewer and sometimes it tells me something like
Hot-key polling is timed out. But that is not synchrone with the system
cpu hug.

Im gonna run explorer and find a moment where system does hog the cpu.
Ik might tell more.

I did consider your explanation of the "not adding up"-problem. Even
tried different update speeds, but the figures were never even close.
That in it selve must be enough for the MS boys to decide not to show
these figures, since they set you on the wrong foot for finding a solution.

I guess the interpretation I posted a couple of hours ago is closer to
reality.

If you consider a parent process as a loop of (say sequential )
programming statements, then some statements are probably simple
statements and some are calls to a child process.

So there are three possible cpu values:
1. the cpu value of the parent process as a whole, including the cpu
values of the child processes.
2. The cpu values of each of the different child processes
3. The cpu value of the parent process, without the time being taken by
the child processes (that is the addition of the cpu values of the
simple statements.

I guess process explorer is giving us the values 2 and 3, not the value
1 (which I thought at first).
In reality it is probably much trickier, since different levels of
programming all will ahve there own meaning of process or call, but
somehow it will make sence.

I'll let you know how I proceed.
BTW: I posted another screen dump, now with 72% cpu time for system
time. Alls children add up to near nothing.

Thanks again.

Gerard
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #13 (permalink)  
Old 05-05-2007, 03:11 PM
Gerard Verhoef
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please: SOLVED

Gerard Verhoef wrote:
> Windows Task Managers shows that the system process takes up 80+ % of
> the CPU-time. I read on several internet sites that a program called
> "process explorer" is able to analyze the processes and threads the cpu
> is working on. So I ran this utility.
> I have a seemingly stupid question:
> The process tree starts with the system Idle process as a root. One of
> the branches atarts with the system process. In the CPU column it says
> that system is talking up say 70.32 CPU (I interpret that as 70.32%).
> The system branch splits up in sub branches. Some of the processes
> mentioned there also have a number in the CPU column. I would expect
> that those numbers would add up to the system CPU number, but is
> doesn't. Not even close.
> How do I interpret the numbers in the CPU column? How can I see which
> process of the system process is taking all the cpu time?
>
> Thanks for any help
>
> Gerard Verhoef


Just to let you know:

I solved the CPU-hog problem, AND I kinda understand better than before
how the process explorer works.
For the latter, see my last posts in this thread.

After all I didn't use process explorer to solve the problem, but simply
turned off apps and services I had running. I didn't try that in the
first place because turning off the system process isn't really an
option of course. And the system process was the villain (at least
according to both process explorer and task manager). Wrong!

System explorer might have been hogging CPU time, but turning off the
COMODO firewall brought the system process back into control as well. So
I guess that it's the combination of several things and turning off
comodo was sufficient to get it right. Keep my fingers crossed of
course, you never know.

Thanks for responding to my post

Gerard.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #14 (permalink)  
Old 05-05-2007, 03:12 PM
Daave
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please: SOLVED

"Gerard Verhoef" <Gerard_Verhoef********.com> wrote in message
news:u7rvyRNjHHA.5084@TK2MSFTNGP03.phx.gbl...

> System explorer might have been hogging CPU time, but turning off the
> COMODO firewall brought the system process back into control as well.
> So I guess that it's the combination of several things and turning off
> comodo was sufficient to get it right. Keep my fingers crossed of
> course, you never know.


Glad you figured out your bottleneck. Is it possible you were running
both Comodo and the Windows firewall simultaneously? If so, I can see
why this would cause a conflict!

Do you plan on reconfiguring Comodo? I hear it's a good firewall.

Whatever you do, make sure your firewall (whichever one you use) is
working!

> Thanks for responding to my post


You're welcome.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #15 (permalink)  
Old 05-05-2007, 03:12 PM
jameshanley39@yahoo.co.uk
Newsgroup Contributor
 
Posts: n/a
Re: Process explorer help please: SOLVED

On 2 May, 17:10, Gerard Verhoef <Gerard_Verh...********.com> wrote:
> Gerard Verhoef wrote:
> > Windows Task Managers shows that the system process takes up 80+ % of
> > the CPU-time. I read on several internet sites that a program called
> > "process explorer" is able to analyze the processes and threads the cpu
> > is working on. So I ran this utility.
> > I have a seemingly stupid question:
> > The process tree starts with the system Idle process as a root. One of
> > the branches atarts with the system process. In the CPU column it says
> > that system is talking up say 70.32 CPU (I interpret that as 70.32%).
> > The system branch splits up in sub branches. Some of the processes
> > mentioned there also have a number in the CPU column. I would expect
> > that those numbers would add up to the system CPU number, but is
> > doesn't. Not even close.
> > How do I interpret the numbers in the CPU column? How can I see which
> > process of the system process is taking all the cpu time?

>
> > Thanks for any help

>
> > Gerard Verhoef

>
> Just to let you know:
>
> I solved the CPU-hog problem, AND I kinda understand better than before
> how the process explorer works.
> For the latter, see my last posts in this thread.
>
> After all I didn't use process explorer to solve the problem, but simply
> turned off apps and services I had running. I didn't try that in the
> first place because turning off the system process isn't really an
> option of course. And the system process was the villain (at least
> according to both process explorer and task manager). Wrong!
>
> System explorer might have been hogging CPU time, but turning off the
> COMODO firewall brought the system process back into control as well. So
> I guess that it's the combination of several things and turning off
> comodo was sufficient to get it right. Keep my fingers crossed of
> course, you never know.
>
> Thanks for responding to my post
>
> Gerard.-


Unfortunately
a)the expertise isn't here
b)at least one person here (telling you to use a firewall) seemed to
not even have the brains to realise from your writing and attitude
e.t.c. that you're a techie (this a common problem in this newsgroup)

You may be interested in the following forum, for future reference.
There is a forum specifically for "process explorer" and other
utilities made by the sysinternals team.
http://forum.sysinternals.com/default.asp?C=2



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Process Explorer... Ross M. Greenberg Windows Vista 8 12-06-2008 04:40 AM
Process Explorer AliceZ Windows Vista 6 07-09-2008 10:20 PM
Process Explorer Jack Windows XP 1 07-04-2008 04:11 AM
how is explorer.exe using a process? yawnmoth Windows XP 3 04-21-2008 03:50 PM
Process Explorer AliceZ Windows Vista 2 08-19-2007 04:30 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 12:16 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0