Using Performance monitor

 

 

Performance monitor can be opened by typing perfmon.msc or from the tools menu.

1

Under monitoring tools you have performance monitor. By default it monitors CPU usage only but you can add counters by pressing the green +.

2

3

Click on what you want to measure then click add.

It is common to use counters for Disk CPU and Memory.

Collect the counters that you want and click Ok.

4

To get a better view of a particular counter click on it and press control h on your keyboard and it appears highlighted. This is good because some of the counters are hard to see individually.

5

You can change the graph view by pressing the highlighted button.

6

The choices are line (the default)

Histogram Bar

7

And report which is good for showing actual values.

Performance monitor is good for showing live values.

For monitoring over a period of time it is better to use data collection sets.

There are two types of data collections user defined and system.

You can start a data collection set by right clicking on it and clicking start.

8

Once it has been run you can view the results from the report section.

9

Creating a user defined data collector set

10

right click user defined > New > Data Collector Set

11

Give it a name and choose from template or manually. I am doing manually.

12

click Add to add counters

13

14

Select counters that you want to measure and click Ok.

15

Select a sample interval that suits your purpose and click next.

Select where you want to keep the data and click next.

16

17

You can choose who you want the set to run as and and you can choose to open the properties, run the collector set now, or just save it.

18

I would normally add a description here.

19

The Schedule tab allows you to create a schedule to run this collector set. You might want to run it at a particular time of day.

20

The stop condition determines how long you want to run this set.

and the task tab allows you to run a task like a script after the set finishes.

21

You can start it by right clicking and selecting start.

22

this should run for 45 seconds in line with the stop condition.

23

There is a visual indicator that it is running.

24

When it finishes you can view the report.