You are on page 1of 3
Doe pe abi Oto Using the ProcDump Utility to Capture a Wonderware Process Dump PROBLEM Title Using the ProcDump Util to Capture @ Wonderware Process Dump SOLUTION ‘Summary ProcDump is a Microsoft command-line uilly whose primary purpose is for monitoring an application for CPU spikes and for generating crash dumps during a spike, An administrator or developer can use the generated .dmp file to determine the cause ofthe spike. ProcDump also includes hung window moritering (using the same definition of a window hang that Windows and Task Manager Use), unhandled ‘exception monitoring and it can generate dumps based on the values of system performance counters. also can serve as a general process. dump utility that you can embed in other scrips, For example, for Wonderware Applications you can use the ullly to collect the complete memory when the blue screen appears. This determines \which product does this. You can dovioad the uty from hits itechnet microsoft comfen-us'sysinternalsidd996900.aspx (221KB). Situation Application Versions + ProcOump 6.13 + Client: Windows XP and higher. + Server: Windows Server 2003 and higher. For the Customer Machine 1. Download and extract the procdump.exe file o a designated fle on the machine This Tech Note uses C:\dumps. 0:22 TVA Gp pads sds As ne AVEVA a alol>| alt New fer “ae fanors i294 Rakai a = 2. Open the command prompt 53. Move the cursor to your C.\ dnive (cd) and execute procdump.exe with the required parameters. ial) Figure 2: Run ProcDump Utity 4. Click Agree S12 AVEVAGuap ti sds At ered AVEVA ° ‘oan ako sta aces cman ne oth 0 cosh EULA SYSINTERNALS SOFTWARE LICENSE TERMS [rece icense ter ae an agreement between Systema (a whaly loved subsiciar of wicrosat Corporation) and yo. Please read them. [They epaly to the sftware you are downloading from Syenernlscom, jvhchnincidesthe mesa on ch you racened anf. The terms ko spp to ey Sysinternals pastes, supplements, srarnet-based services nd Figure 3. Agree to the License Agreement 5, The tool creates the dump file 6. You can find the dump file on the C:\dumps folder Using ProcDump For complete information on the uly options, cick HERE. Wonderware-Specific information is included below. Examples for Wonderware Applications + White 3 mini dumps of a process called aaEngine.exe when it exceeds 90% CPU usage for five seconds: ‘eprocdump -c90-s 5-n 3 aaEngine exe Nite a mini Gump fora process called view.exe (InTouch) when one of its Windows is unresponsive for more than § seconds: procdump -h view exe hungwindew dnp ite a mini dump for a process called Historian Index Service when lola system CPU usage exceeds 90% for 10 s conds C:>procdump aahindexSve-p “\Processor(_Total)s Processor Time" 90 4 White a mini dump for w3wp.exe (based onliS Pool, such as WIS Application if an exception's code/name contains NotFound. G:>procdump © 1 -TNotF ound w2wp exe + Winte a full dump ofa process with PID "4672 (Ie. related to Touch), and will colect all code!names exceptions (Io understand when second exception’ required) C:bproccump © 1 4" 4572 + Wite a full memory dump ifine aaBotstrap.exe willbe terminated within a hance exception (usefully for missing reference exception on C:}>procdump -ma aaBotstrap exe — 1 ‘+ Wie a full memory dump for an aangine.exe (referenced by his PID 1234) when a crash willbe happening, collecting the 2nd chance exception, Cprocdump -ma 1224-e2 + Winte a fll memory dump for an aa€ngine.exe (referenced by hi PID 1234) when a specific exception willbe encountered, such as "AccessViolabon’ Gx000000c most common, procdump-ma 1234—e 1-"AccessViolation’ ‘Sending the Dump File for Analysis, Zip(Compress the dmp fle and provide itto your Support Engine. ©2022 AVEVA Gow mis bins os exon AVEVA SenonstLae Pcs ter

You might also like