Using Perfmon Windows 2008 R2

Posted on 2013-09-05
Medium Priority
Last Modified: 2013-11-25
using perfmon in win2k3 was way too easy. unfortunately i haven't had the need till recently to use it again and perfmon in win2k8 r2 is very different.

What i need to capture is Total CPU USAGE and also CPU usage of certain proprietary applications we use.  Need to pull it in a CSV so we can do analysis from different sever and different builds of the application.

I recall i was able to add the process before but i don't see that option, also i don't see the total cpu USAGE option unless there is another way of doing this.
any help would be appreciated thanks.
Question by:z969307
  • 3
  • 2
  • 2
LVL 30

Expert Comment

by:Brad Howe
ID: 39469055
Hi there,

This is done use the resource monitor. Please take a read through the techrepublic article below and let us know if you have any questions.



Author Comment

ID: 39469090
thanks for pointing this out...
I am aware of resource monitor, but I would like to be able to capture the metrics over a period of time and be able to import into excel for analysis. I don't see the option going thru the article.
LVL 30

Assisted Solution

by:Brad Howe
Brad Howe earned 600 total points
ID: 39469154
Got ya.

For this then you need to use PERFMON. When you open Perform you will need to create a new data collector set under user defined group and let it run for the duration of your need.

1. right click on User defined "NEW
2. Create new Data collector set
3 .Create manually.
4. Create data logs "performance counters"
5. Click ADD, browse to PROCESS
5. Select %processor time
6. Select application instance from below
7. Start collector.

You can also right click on Datacollector01 once it is created and change the log out format from Binary to CSV, TXT, SQL etc...

Once you feel you have enough data, you can stop it and generate a report.

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.


Accepted Solution

Ratnesh Mishra earned 900 total points
ID: 39469780
So what I understood , you need to collect information regarding Overall CPU usage  and CPU usage per process . If I am correct , you can try this :-

Step 1. Open perfmon, create a Data Collection set manually.
Step 2. Click next , then select performance counter in "Create data logs" . Then click next .
Step 3. Now click on Add for adding performance counter , select Process in "Select counter from computer:" and then select the desired process from "Instances of selected object" . [Don't select all instances] .
Step 4. Once done then again do the selection of Processor [Depecnds whats your need is as there are 3 options for you] However I would suggest you to select processor and then the values you are looking for or for overall you can select all instances.
Step 5 . Click on finish .
Step 6. Click on the properties of you newly created data collector set and go to stop condition and then select for how log you want it to run .Minimum time duration should be least 4 hours for log collection .
Step 7 . Hope you are aware of how to set time interval for sample collection . By default its always 15 sec .

Once done make a right click and select start to the data collector set and it will start collecting logs.
Make it sure you have started it as administrator as if you are doing it with user credentials it will stop collecting data as soon as user logs off.

Do let me know if you need further information. One more suggestion if you are done with it you can save the same data collection set as template and can use it on other machines as well.

Author Comment

ID: 39476638
I've setup and started this data collector for today. I'll revert back once i have the data captured to see if it is what i am looking for.

I don't see a schedule to end at a certain time, the only option was to specify time limit for it to run in hours/second/minutes.

Expert Comment

by:Ratnesh Mishra
ID: 39482609
Yes, you are right . You can schedule the start time and days on the week but stop condition is only limited to either size or duration [sec, min, hours, etc..].

Expert Comment

by:Ratnesh Mishra
ID: 39522948
Any update !!

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question