To create a Data Collector Set:
- Log in to your Windows 2008 or 2008 R2 virtual machines with administrative credentials.
- Launch Server Manager. Click Start > Server Manager.
- Expand Diagnostics > Reliability and Performance > Data Collector Sets.
- Right-click the User Defined folder and click New > Data Collector Set.
- Give your Data Collector Set a descriptive name, select Create manually (Advanced), then click Next.
- Under Create data logs, select Performance Counter, then click Next.
- To add the counters you want to work with, select the counter, then click Add. Here is a list of suggested counters:
-
- Cache
- Memory
- Network Interface
- Objects
- Paging File
- Physical Disk
- Process
- Processor
- Redirector
- Server
- Server Work Queues
- System
- Thread
- Click OK.
- Select a Sample interval (based on problem occurrence). For performance problems, an interval between 5 and 15 seconds is typically appropriate. Click Next.
- Select a path for the data files to be saved.
- Click Start this data collector set now > Finish. The Data Collector Set has now started collecting data. You can browse to the location you selected for the files to ensure that a file of type Performance Monitor has been created.
Note: To stop the Data Collector Set, right-click the Data Collector Set under User Defined and click Stop). If you stop the Data Collector Set, the file will no longer be empty.
With the binary file created, you can view a report on the Data Collector Set. Under Server Manager > Diagnostics > Reliability and Performance > Reports > User Defined, expand your Data Collector Set, right-click on the first available data under it, and select Report.