How to monitor a particular process with Performance Monitor ?

Discussion in 'Windows Server' started by Peter, Mar 30, 2007.

  1. Peter

    Peter Guest

    From the Windows 2003 R2 Server Performance Monitor log file, we find that
    there is CPU surge (Utilization up to 50%) every 5 minutes.

    That Server is running a financial package. We talk to the vendor and they
    ask us to monitor a particular process (background job) - XXXX.exe.

    We would like to know is it possible for us to use performance monitor to
    keep track the CPU utilization of that particular task ?

    You advice is sought.
     
    Peter, Mar 30, 2007
    #1
    1. Advertisements

  2. Peter

    Herb Martin Guest

    Yes. Processes is the object, and you will find each process as an instance
    by either PID or NAME.

    Generally though using Task Manager may be more convenient for processes
    (esp. those that start and stop) if you don't need to LOG the data but only
    view it.

    Task Manager has many more counters to view if you add them -- Menu: View
    can set the columns to display.
     
    Herb Martin, Mar 30, 2007
    #2
    1. Advertisements

  3. Peter

    Peter Guest

    Would it be possible for me to use Performance Monitor to log the CPU
    utilization of that particular PID ? This is because the software vendor
    ask us to prove it is their problem and not our network / Server problem.

    Thanking you in anticipation.
    Peter
     
    Peter, Mar 31, 2007
    #3
  4. Peter

    roga Guest

    The PID will change each time the process starts

    You may need to search for the exe, then get the PID from that

    something like tasklist or PSList may help

    Roga
     
    roga, Mar 31, 2007
    #4
  5. Peter

    Herb Martin Guest

    The PID is visible (but not completely obvious) in PerfMon too.

    You can do it all in one place.


    BUT if you monitor by NAME of the application, you can start the
    Application ONE time, get the monitoring started (haven't seen how
    else to get the name in there using the GUI) and then when it starts
    and stops the monitoring will continue with the new instance of the
    same (name) app.
     
    Herb Martin, Mar 31, 2007
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.