By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,508 Members | 1,823 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,508 IT Pros & Developers. It's quick & easy.

App Domain CPU Utilization

P: n/a
jay
Greetings
I have a C# windows service that creates several application domains.
Each app domain has it's own programs running, doing their own thing,
independent of each other.
Recently, someone gave me a component that spun off that misbehaved and

caused it to spike CPU usage. When you look at CPU Utilization in task
manager, you only see that the service is hogging it all, not the
specific domain.
I'd like to see how much CPU usage per app domain. Can someone point me

in the right direction, or offer any suggestions?
Thank you

Dec 10 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

<ja*@allardworks.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Greetings
I have a C# windows service that creates several application domains.
Each app domain has it's own programs running, doing their own thing,
independent of each other.
Recently, someone gave me a component that spun off that misbehaved and

caused it to spike CPU usage. When you look at CPU Utilization in task
manager, you only see that the service is hogging it all, not the
specific domain.
I'd like to see how much CPU usage per app domain. Can someone point me

in the right direction, or offer any suggestions?
Thank you


Application domains are not active components, they are CLR logical contexts
unknown to the OS.
CPU utilization is related to OS thread contexts and as an OS thread can
cross AD borders, it's nearly impossible to say which thread is active in
which AD, unless you attach a debugger to the process.

Willy.
Dec 10 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.