Common Windbg Commands

Discover the commands that you can use on your IIS dump files in the Windbg tool.

Geoff Gray

June 17, 2001

1 Min Read
ITPro Today logo in a gray background | ITPro Today

Here are a few common commands that you can use on your dump (.dmp) files in Windbg. Most of the commands are self-explanatory.

How many CPUs are on the machine?

0:024> dd ISATQ!g_cCPU L 1686296e8  00000001

What's the number of Asynchronous Thread Queue (ATQ) threads for this machine?

0:024> dd ISATQ!g_cMaxThreads L 168629138  00000008

How many threads are available?

0:024> dd isatq!g_cAvailableThreads L 168629634  00000004

On what kind of machine are the threads running?

0:024> dd ISATQ!g_PlatformType L 168629734  00000002

PtNtWorkstation = 1,

// NT Workstation

PtNtServer = 2,

// NT Server

PtWindows95 = 3,

// Windows 95

PtWindows9x = 4

//Windows9x - not implemented



How many sessions are currently active?

0:024> dd asp!g_nSessions L 1680ec57c  00000000

Do you know what this command does?

0:053> dt  w3svc!g_pW3Stats -r
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like