0% found this document useful (0 votes)
56 views5 pages

Tech Note 919 - Using The ProcDump Utility To Capture A Wonderware Process Dump

The document discusses using the ProcDump utility to capture process dumps from Wonderware applications. ProcDump can generate crash dumps during CPU spikes to help determine the cause. It also monitors for hung windows and unhandled exceptions. The document provides examples of ProcDump commands to generate dumps from specific Wonderware processes like aaEngine.exe under certain conditions like high CPU usage. Support engineers can analyze the dump files to help troubleshoot issues.

Uploaded by

profilemail8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views5 pages

Tech Note 919 - Using The ProcDump Utility To Capture A Wonderware Process Dump

The document discusses using the ProcDump utility to capture process dumps from Wonderware applications. ProcDump can generate crash dumps during CPU spikes to help determine the cause. It also monitors for hung windows and unhandled exceptions. The document provides examples of ProcDump commands to generate dumps from specific Wonderware processes like aaEngine.exe under certain conditions like high CPU usage. Support engineers can analyze the dump files to help troubleshoot issues.

Uploaded by

profilemail8
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Using the ProcDump Utility to Capture a Wonderware Process Dump

Tech Note 919


Using the ProcDump Utility to Capture a Wonderware Process Dump

All Tech Notes, Tech Alerts and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Topic#: 002732
Created: March 2013

Introduction
ProcDump is a Microsoft command-line utility 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 of the spike.

ProcDump also includes hung window monitoring (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. It also can serve as a
general process dump utility that you can embed in other scripts.

For example, for Wonderware Applications you can use the utility to collect the complete memory when the blue screen appears. This
determines which product does this.

You can download the utility from http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx (221KB).

Application Versions
ProcDump 5.13

Client: Windows XP and higher.

Server: Windows Server 2003 and higher.

For the Customer Machine


1. Download and extract the procdump.exe file to a designated file on the machine.

This Tech Note uses C:\dumps.

file:///C|/inetpub/wwwroot/t002732/t002732.htm[3/25/2013 10:23:53 AM]


Using the ProcDump Utility to Capture a Wonderware Process Dump

2. Open the command prompt.

3. Move the cursor to your C:\ drive (cd) and execute procdump.exe with the required parameters.

file:///C|/inetpub/wwwroot/t002732/t002732.htm[3/25/2013 10:23:53 AM]


Using the ProcDump Utility to Capture a Wonderware Process Dump

FIGuRE 2: RuN PROcDuMp UtILItY

4. Click Agree.

file:///C|/inetpub/wwwroot/t002732/t002732.htm[3/25/2013 10:23:53 AM]


Using the ProcDump Utility to Capture a Wonderware Process Dump

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 utility options, click HERE.

Wonderware-Specific information is included below.

Examples for Wonderware Applications


Write 3 mini dumps of a process called aaEngine.exe when it exceeds 90% CPU usage for five seconds:

C:\>procdump -c 90 -s 5 -n 3 aaEngine.exe

Write a mini dump for a process called view.exe (InTouch) when one of its Windows is unresponsive for more than 5 seconds:

C:\>procdump -h view.exe hungwindow.dmp

file:///C|/inetpub/wwwroot/t002732/t002732.htm[3/25/2013 10:23:53 AM]


Using the ProcDump Utility to Capture a Wonderware Process Dump
Write a mini dump for a process called Historian Index Service when total system CPU usage exceeds 90% for 10 seconds:

C:\>procdump aahIndexSvc -p "\Processor(_Total)\% Processor Time" 90

Write a mini dump for w3wp.exe (based on IIS Pool, such as WIS Application) if an exception's code/name contains NotFound:

C:\>procdump -e 1 -f NotFound w3wp.exe

Write a full dump of a process with PID '4572' (i.e. related to InTouch), and will collect all code/names exceptions (to understand
when second exception is required):

C:\>procdump -e 1 -f "" 4572

Write a full memory dump if the aaBotstrap.exe will be terminated within a 1st chance exception (usefully for missing reference
exception on services)

C:\>procdump -ma aaBotstrap.exe –e 1

Write a full memory dump for an aaEngine.exe (referenced by his PID 1234) when a crash will be happening, collecting the 2nd
chance exception:

C:\>procdump -ma 1234 –e 2

Write a full memory dump for an aaEngine.exe (referenced by hi PID 1234) when a specific exception will be encountered, such
as “AccessViolation” 0x000000c most common.

C:\>procdump -ma 1234 –e 1 –f “AccessViolation”

Sending the Dump File for Analysis


Zip/Compress the .dmp file and provide it to your Support Engineer.

M. Salah, P. Iodice

Tech Notes are published occasionally by Wonderware Technical Support. Publisher: Invensys Systems, Inc., 26561 Rancho Parkway South, Lake Forest, CA 92630. There is also
technical information on our software products at Wonderware Technical Support.

For technical support questions, send an e-mail to [email protected].

Back to top

©2013 Invensys Systems, Inc. All rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, electronic or
mechanical, including photocopying, recording, broadcasting, or by anyinformation storage and retrieval system, without permission in writing from Invensys Systems, Inc.
Terms of Use.

file:///C|/inetpub/wwwroot/t002732/t002732.htm[3/25/2013 10:23:53 AM]

You might also like