Skip navigation

Common Windbg Commands

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 1
686296e8  00000001

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

0:024> dd ISATQ!g_cMaxThreads L 1
68629138  00000008

How many threads are available?

0:024> dd isatq!g_cAvailableThreads L 1
68629634  00000004

On what kind of machine are the threads running?

0:024> dd ISATQ!g_PlatformType L 1
68629734  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 1
680ec57c  00000000

Do you know what this command does?

0:053> dt  w3svc!g_pW3Stats -r
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish