Dump files automatically generated using ProcDump

ProcDump tool from Sysinternals Suite

Recently used to automatically generate Dump file

One is used to monitor the server unresponsive

procdump -accepteula -64 -ma -h server.exe

Second, the client program for monitoring flash back (unprocessed exception guess)

-I -e -accepteula ProcDump client.exe

 

Note: The client program is a 32-bit, 64-bit server program

 

The following example from the official description:

Mini Dump files generated for the process called "notepad" The (only the existence of a matching process)

C:\>procdump notepad

Dump produce a complete file for the process ID of 4572

C:\>procdump -ma 4572

Produce three mini Dump file for the process called "notepad" (interval 5 seconds between each)

C:\>procdump -s 5 -n 3 notepad

Generate a maximum of three mini Dump file when called "consume" process would exceed the 20% CPU reaches 5 seconds

C:\>procdump -c 20 -s 5 -n 3 consume

Write a mini dump for a process named 'hang.exe' when one of it's Windows is unresponsive for more than 5 seconds:

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

Write a mini dump of a process named 'outlook' when total system CPU usage exceeds 20% for 10 seconds:

C:\>procdump outlook -p "\Processor(_Total)\% Processor Time" 20

Write a full dump of a process named 'outlook' when Outlook's handle count exceeds 10,000:

C:\>procdump -ma outlook -p "\Process(Outlook)\Handle Count" 10000

Write a MiniPlus dump of the Microsoft Exchange Information Store when it has an unhandled exception:

C:\>procdump -mp -e store.exe

Display without writing a dump, the exception codes/names of w3wp.exe:

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

Write a mini dump of w3wp.exe if an exception's code/name contains 'NotFound':

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

Launch a process and then monitor it for exceptions:

C:\>procdump -e 1 -f "" -x c:\dumps consume.exe

Register for launch, and attempt to activate, a modern 'application'. A new ProcDump instance will start when it activated to monitor for exceptions:

C:\>procdump -e 1 -f "" -x c:\dumpsMicrosoft.BingMaps_8wekyb3d8bbwe!AppexMaps

Register for launch of a modern 'package'. A new ProcDump instance will start when it is (manually) activated to monitor for exceptions:

C:\>procdump -e 1 -f "" -x c:\dumps Microsoft.BingMaps_1.2.0.136_x64__8wekyb3d8bbwe

Register as the Just-in-Time (AeDebug) debugger. Makes full dumps in c:\dumps.

C:\>procdump -ma -i c:\dumps

See a list of example command lines (the examples are listed above):

C:\>procdump -? -e

Guess you like

Origin www.cnblogs.com/s5689412/p/11563577.html