Often in trying to troubleshoot performance issues, it is very helpful to have a basic set of performance counters. Microsoft has a performance monitor tool that does real-time monitoring of a system. In addition to a real-time display of these counters in a grid, a perfmon counter can be created to collect this data in the background over time. The counters are saved to a Binary log file (.blg) which can sent to Altiris Support Services.
The counters below are broken down into three groupings.
- Counters that should be collected on any Altiris related servers (Notification Server, SQL Server, Deployment Server, and so on)
- Additional counters that should be collected on SQL Servers
- Additional counters that should be collected on Notification Servers
Creating counters to be collected in the background using a prebuilt settings file:
- Copy the attached "Altiris Counters.htm" to your server(s) that you are going to run counters on
- Run "perfmon.msc"
- In the tree Select Performance Logs and Alerts > Counter Logs.
- Right-click on Counter Logs and select New Log Settings From
- Browse to the Atiris Counters.htm that you downloaded in step 1
- Click Open
- Keep the Name "Altiris Counters"
- Click OK
- Review the settings of the counter and make changes that you need to(ie the path of the .blg file)
- Click OK
Manualy creating counters to be collected in the background:
-
Do steps 1-3 from above.
-
Right-click on Counter Logs and select New Log Settings.
-
Give the new counter the name "Altiris Counters".
-
Click OK.
- This will open a Window to setup Altiris Counters.
- For each Tab listed below follow each steps
General Tab
- Using the counters below as a reference, add the appropriate counters that apply to the server:
- Click Add Counters.
- Select the specific object from the dropdown box.
- Multi-select the instances (if applicable, they will be listed next to the object name).
- Multi-select the requested counters (listed under the object name).
- Click Add.
- Click Close.
- Set the Interval to 10 seconds.
- Keep Run As set to "<Default>".
Log Files Tab
- Log file type: select Binary File.
- Select End File Names with with nnnnnn selected with Start numbering at set to "1".
- Look at the example to know where the file will be saved.
- Click Configure
- If needed change the location path to store the log files.
- Change the Log file size to a limit of 10 MB
- Click OK
Schedule Tab
- Set the Start log to Manual or set a specific time and date.
- Set the Stop log to When the 10-MB log file is full. or set a specific time and date.
- Select Start a new log file which will cause the counter to keep creating additional logs until it is manually stopped.
When you're done creating the counter, click OK.
To Manually Start Collecting Metric Data
- Select Performance Logs and Alerts > Counter Logs.
- Right-click Altiris Counters and select Start.
Once the counter is started, it will continue to run even after the Performance window is closed.
To Manually Stop Collecting Metric Data
- Select Performance Logs and Alerts > Counter Logs.
- Right-click Altiris Counters and select Stop.
Each time the log is started again, the log number will increment.
Common Counters for All Servers |
Additional Counters for SQL Servers |
Additional Counters for Notification Servers |
Object: Memory
- Free System Page Table Entries
- Pages/sec
Object: Physical Disk(_Total)
Object: Process(_Total)
- %Processor Time
- Private Bytes
- Virtual Bytes
- Working Set
Object: Processor(_Total)
Object: System
|
Object: Physical Disk(All Instances)
- Avg. Disk Read Queue Length
- Avg. Disk Write Queue Length
Object: Process(sqlservr)
- %Processor Time
- Private Bytes
- Virtual Bytes
- Working Set
Object: SQLServer:Buffer Manager
- Buffer Cache hit ratio
- Free Pages
- Page Life Expectancy
|
Object: .Net CLR Memory(_Global_)
- #bytes in all Heaps
- % Time in GC
Object: Process(AeXSvc,W3WP, and W3WP#1)
- %Processor Time
- Private Bytes
- Virtual Bytes
- Working Set
Object: Web Service(All Instances)
|