ProcDump is a command-line utility with a primary purpose of monitoring applications for CPU spikes and generating crash dumps during a spike that can be used to determine the cause.
ProcDump also includes hung window monitoring (using the same definition of a window hang that Windows and Task Manager use), unhandled exception monitoring and 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.
Using ProcDumpusage: procdump [-64] [-b] [[-c CPU usage] [-u] [-s seconds]] [-n exceeds] [-e