Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

June 18, 2001 12:00 AM

Common Windbg Commands

Windows IT Pro
InstantDoc ID #21244
Rating: (2)

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

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    May 24, 2005

    genuinely a waste of time and no, I did not look at any of the annoying ads

  • Anonymous User
    7 years ago
    Mar 17, 2005

    These aren't exactly common or helpful

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.