FAQ: How can I create a Performance Monitor Log file?
Windows Performance Monitor can be used and configured to record in the background Windows processes' performance counters and Operating System resources usage on the long run.
Windows Performance Monitor logs are useful when troubleshooting system stability or performance issues (but also other type of issues), being those sporadic or (slow-)continuous events (e.g. gradual memory increase), as the output of this log allows users to find patterns or specific resource usage trend by Windows processes on the long term.
The configuration below will save a new record every 30 seconds of all active Windows processes for the performance counters and some hardware resources configured. Feel free to adapt the point#2 command to your needs as the syntax can be easily understand when performing an identical configuration using Performance Monitor user interface (Type "Perfmon" in Windows Start menu). For instance, it is possible to limit the log capture to a certain process by replacing the asterisk * by the process name, e.g., zenrt32.
- Open CMD prompt with Administrative rights.
- Copy the command below and execute.
Logman create counter LOG_MONITOR -f bincirc -v mmddhhmm -max 500 -c "\Processor(_Total)\% Processor Time" "\Memory\Available MBytes" "\LogicalDisk(*)\% Free Space" "\PhysicalDisk(*)\Current Disk Queue Length" "\Network Interface(*)\Bytes Total/sec" "\TCPv4\Connections Established" "\TCPv6\Connections Established" "\Process(_Total)\Handle Count" "\Process(_Total)\Thread Count" "\Process(*)\% Processor Time" "\Process(*)\Handle Count" "\Process(*)\Thread Count" "\Process(*)\Private Bytes" "\Process(*)\ID Process" -si 00:00:30
- Execute: Logman start LOG_MONITOR
- Execute the command Logman stop LOG_MONITOR to stop the current data collection. You can find the LOG_MONTITOR blg files in the folder C:\PerfLogs\Admin (default).
If you have any question, doubt or suggestion about this FAQ please contact your local COPA-DATA Representative.
Related Articles
Checklist: Multimonitor administration
Time estimate: 15 minutes Please go through all the points in the following checklist. If necessary, confirm with IT Department any information you cannot verify before contacting your local COPA-DATA Representative. zenon configuration file ...
FAQ: How can I monitor and react on the communication status of my devices with zenon?
Data quality is very important to the integrity of a HMI or SCADA system. As such, zenon has numerous ways to monitor the communication status of different devices within your automation environment. Here are some options that you can use in your ...
FAQ: How can I browse an OPC UA Server using the zenon OPC UA Client Driver?
Go to Drivers > New Driver Create a Driver of Type "OPC UA Client Driver" Open the Driver Configuration Go to "Connections" Create a new Connection Enter your Discovery URL Enter your Server URL manually or click the 3 dots to browse the Discovery ...
Checklist: Process is not responding
Time estimate: 60 minutes Please go through all the points in the following checklist. If necessary, confirm with IT Department any information you cannot verify before contacting your local COPA-DATA Representative. Checklist usage: #. [Quick hints] ...
FAQ: Historian configuration general recommendations
1. Recommendation on hardware: Storage Memory CPU - SSD (Solid-State Drive). - Disk space capacity as detailed in the attached Excel sheet outputs. - RAM required to load the archive data is about 4 times greater the size of the respective ARX files. ...