« Previous Next »

Thread: request cpu utilization

Last post 08-06-2009 7:53 PM by bobbyv. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 06-12-2009, 1:21 AM

    request cpu utilization

    Hi folks!

    One thing I've been wanting for many years is some way of knowing the cpu utilization of a request. There's of course 'time taken' but it's not really the information I want.

    After reading about the new IIS 7 Advanced Logging I was very pleased to see that it can log cpu utilization of a each request. I've installed it.

    I'm getting log entries written into the advanced log however the 'cpu-utililization' column always has the value '-'. Is there something I'm missing? How can I see this information?

    Thanks

  • 06-17-2009, 2:43 AM In reply to

    • WWWWeb
    • Top 100 Contributor
    • Joined on 04-30-2009, 9:42 AM
    • Posts 52

    Re: request cpu utilization

    - may means the utilization is too low to log.

    what will be logged if you manually create a request which will eat all CPU, example, a page contains a dead loop in code?

     

  • 06-18-2009, 4:43 PM In reply to

    • bobbyv
    • Top 100 Contributor
    • Joined on 06-12-2002, 12:12 AM
    • Redmond, WA
    • Posts 57

    Re: request cpu utilization

    Hi mat,

    Could you look in your systemeventviewer to see if there were any errors reported?  Also, the 'CPU Utilization' is not per request, unfortunately.  We're merely reporting the 'CPU Utilization' perf counter value at the time of the request.

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 08-06-2009, 2:23 PM In reply to

    Re: request cpu utilization

     I am currently looking for way to track request Memory, CPU utilization too.  Please point me in the right direction.  I have read some post that suggest LogMan.exe could maybe do it.  It is possible with LogMan.exe?

  • 08-06-2009, 7:53 PM In reply to

    • bobbyv
    • Top 100 Contributor
    • Joined on 06-12-2002, 12:12 AM
    • Redmond, WA
    • Posts 57

    Re: request cpu utilization

    hi hainguyenx,

    Here's an article that discusses how to trace performance counters using logman.  The CPU Utilization counter is "\Process(*)\% Processor Time".

     http://blogs.technet.com/askperf/archive/2008/05/13/two-minute-drill-logman-exe.aspx

    Depending on what you're trying to track and the granularity of the data you want, LogMan.exe may or may not be a good tool to track this.  Hope this helps...

    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (5 items)
Microsoft Communities