Skip to end of metadata
Go to start of metadata
Table of Contents
- Open Performance Monitor (AKA perfmon)
- Setup the Data Collector Set
- Start the Data Collector Set
- Stop the Data Collector Set
- HOWTO: Change the User for the Data Collector Set
- HOWTO: Change the Log file Location
- HOWTO: Create a Data Collector Set Template
- HOWTO: Use a Custom Template to Create a Data Collector Set
- Press the Start + R keys to get the Run dialog.
- Type “perfmon”:
- Click the “OK” button.
- Left click the arrow found to the left of "Data Collector Sets" to expand the tree:
- Right click "User Defined", and select "New > Data Collector Set".
- Specify a unique name for the Data Collector Set:
- Select the "Create manually (Advanced)" radio button.
- Click the "Next" button.
- Check off "Performance counter", found under the "Create data logs":
- Click the "Next" button.
- Click the "Add" button.
- OPTIONAL: If using Performance Monitor to watch a remote host.
- Type the hostname into the “Select counters from computer” text field:
- Press
the Tab key to trigger the dialog to query the remote host specified
for available counters, and refresh the list of counters (can take a
couple of minutes).
- Scroll to "MSSQL$[appropriate instance name]: General Statistics".
- Click the "+" to expand the node (found to the right of "MSSQL$[appropriate instance name]: General Statistics)
- Select "User Connections".
- Click the "Add" button.
- Scroll to "MSSQL$[appropriate instance name]: Locking".
- Click the "+" to expand the node (found to the right of "MSSQL$[appropriate instance name]: Locking)
- Select "Average Wait Time (ms)".
- Select "Database" for "Instances of selected object".
- Click the "Add" button.
- Click the "OK" button.
- OPTIONAL: Change the log location.
- Click the "Next" button.
- OPTIONAL: Change the user account this Data Collector Set will use for credentials.
- Click the "Finish" button.
- Right click on the Data Collector Set created in Step 2.
- Select "Start".
- Right click on the Data Collector Set created in Step 2.
- Select "Stop".
- Open Performance Monitor (See Step 1).
- Expand the "Data Collector Sets" node.
- Expand the "User Defined" node.
- Right click the Data Collector Set for which you wish to change the user.
- Select "Properties".
- Under the "General" tab, click the "Change" button found in the "Run As" section.
- Provide a username and password for the account that will be running the Data Collector Set.
- Click the "OK" button.
- Click the "Apply" button.
- Click the "OK" button.
- Open Performance Monitor (See Step 1).
- Expand the "Data Collector Sets" node.
- Expand the "User Defined" node.
- Right click the Data Collector Set for which you wish to change the user.
- Select "Properties".
- Under the "Directory" tab, click the "Browse" button.
- Select the folder location in the "Browse for Folder" dialog.
- Click the "OK" button.
- Click the "Apply" button.
- Click the "OK" button.
Once a custom Data Collector Set has been created, it can be saved as a template:
- Open Performance Monitor (See Step 1).
- Expand the "Data Collector Sets" node.
- Expand the "User Defined" node.
- Right Click on the Data Collector Set name that will be used as a template.
- Left click "Save Template...".
- Provide a file name.
- OPTIONAL: Browse to a folder location where the template will be stored.
The
template is stored as XML, making it easily editable in any text editor
(IE: Notepad, Wordpad, etc). However, the counters are not entirely
editable and will likely require recreation.
- Open Performance Monitor (See Step 1).
- Expand the "Data Collector Sets" node.
- Right click "User Defined", and select "New > Data Collector Set".
- Specify a unique name.
- Select the "Create from a template (Recommended)" radio button.
- Click the "Next" button.
- Click the "Browse" button.
- Navigate to the folder where the custom template is located.
- Select the template file.
- Click the "Open" button.
- Click the "Next" button.
- OPTIONAL: Change the log location.
- Click the "Next" button.
- OPTIONAL: Change the user account this Data Collector Set will use for credentials.
- Click the "Finish" button.
Nenhum comentário:
Postar um comentário