Performance monitoring
Windows Perfmon, or Performance Monitor, is a tool for monitoring and analyzing system performance. It enables real-time monitoring of system resources such as CPU, memory, hard disks and network activity. With Perfmon, administrators can collect performance data, diagnose performance problems and perform long-term performance analysis.
The creation and evaluation of individual performance monitoring (Perfmon) in Windows Server is explained below.
Set up
Open the performance monitor
Press Win + R to open the Run dialog box.
Enter
perfmon
and press Enter. This will open the performance monitoring console.
Create a new Data Collector Set.
To do this, click on Data Collector Sets in the left-hand navigation area and then select User Defined.
Right-click on User Defined and select New > Data Collector Set.
Give the new data collector set a name (e.g. XPhoneConnect) and select Create from template. Then click on Next.
Click on Browse and then select the appropriate template from the installation directory of the XPhone Connect Server:
C:\Program Files\C4B\XPhone Connect Server\Support\Perfmon\XPhoneConnectServer-DataCollectorSet.xml
Select the
XPhone Connect Server
template data collector set and then click Next.If necessary, change the root directory in which the data is to be saved. Click on Finish.
Click on the new object you have just created Data collector sets > User Defined > Your data collector set (e.g. XPhoneConnect) and select Properties.
Switch to the Stop Condition tab and configure the following values:
Checkbox Overall duration: deactivated
Checkbox Restart the data collector set at limits: activated
Duration checkbox: activated
Input field Duration: 1
Dropdown menu Units: Days
Maximum Size checkbox: deactivated
Checkbox Stop when all data collectors have finished: deactivated
Save your settings with the OK button.
Click on the object Data collector sets > User-defined > Your data collector set (e.g. XPhoneConnect) and select Start (in the menu bar or in the context menu of the object).
Long-term monitoring
If you want to create a long-term Permon log, configure your data collector set as follows:
Click on the object under Data collector sets > User-defined > Your data collector set (e.g. XPhoneConnect) and select Properties.
Switch to the Stop Condition tab and configure the following values:
Checkbox Overall duration: deactivated
Checkbox Restart the data collector set at limits: activated
Duration checkbox: deactivated
Checkbox Maximum size: activated
Input field Maximum size: 1500 MB
Checkbox Stop when all data collectors have finished: deactivated
Save your settings with the OK button.
Click on the object Data collector sets > User-defined > Your data collector set (e.g. XPhoneConnect) > DataCollector01 and select Properties.
Change the units of measurement of the sampling interval to
minutes
(i.e.1 minute
instead of1 second
) and save the setting with the OK button.
Click on the object Data collector sets > User-defined > Your data collector set (e.g. XPhoneConnect) and select Start (in the menu bar or in the context menu of the object).
Task planning
Performance monitoring is automatically terminated when the server is restarted and is not restarted automatically. You can find out how to configure the automatic start in the task planning here:
Press the Win + R keys to open the Run dialog box.
Enter
taskschd.msc
and press Enter to open the task scheduler.Navigate to the following path: Task scheduling library > Microsoft > Windows > PLA
Right-click on your data collector set (e.g. XPhoneConnect) and select Properties.
Switch to the Triggers tab and click on the New… button.
Configure the Begin the tasks drop-down menu: At startup
Save your settings by clicking on OK.
Evaluate
C4B provides a pre-configured customized performance monitor.
Open the following file and display all XPhone Performance Counters in the Performance Monitor:
C:\Program Files\C4B\XPhone Connect Server\Support\Perfmon\XPhoneConnectServer-Monitoring.msc
Send
Please note that you should stop the Perfmon logs before sending them, as otherwise there may be problems opening the copied log files.
Open the performance monitor
Press Win + R to open the Run dialog box.
Enter
perfmon
and press Enter. This will open the performance monitoring console.
Click on the object Data collector sets > User-defined > Your data collector set (e.g. XPhoneConnect) and select Stop (in the menu bar or in the context menu of the object).
You can then copy and send the Perfmon logs from the root directory that you specified during setup.
Have you found a mistake on this page?
Or is something not formulated well or too vague? Then we look forward to receiving an e-mail, preferably with a suggestion for improvement, to doku@c4b.de. Thank you very much!