Memory Dump Analysis using Excel

Some WinDbg commands output data in tabular format so it is possible to save their output to a text file, import it to Excel and do sorting, filtering, and graph visualization, etc. Some commands from WinDbg include:

!stacks 1

Lists all threads with Ticks column so you can sort and filter threads that had been waiting no more than 100 ticks, for


Here we can create various histograms, for example, IRP distribution based on [Driver] column.

I’ll show more examples later but now the graph depicting thread distribution in PID - TID coordinates on a busy multiprocessor
system with 25 user sessions and more than 3,000 threads:

WinDbg scripts offer possibility to output various tabulated data via .printf:

0:000> .printf "a\tb\tc"
a       b       c

- Dmitry Vostokov @ -

3 Responses to “Memory Dump Analysis using Excel”

  1. Dmitry Vostokov Says:

    Examples of IRP distribution graphs:

  2. Dmitry Vostokov Says:

    Component Age Diagrams (CAD):

  3. Software Generalist » Blog Archive » Reading Notebook: 16-July-09 Says:

    […] See also PID -TID space graph from one memory dump: Memory Dump Analysis using Excel […]

Leave a Reply

You must be logged in to post a comment.