Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


July 2001

Common Windbg Commands

RSS
Subscribe to Windows Web Solutions | See More IIS and Web Administration Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
Main Article    Using the Windbg Debugging Tool

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

End of Article



Reader Comments
These aren't exactly common or helpful

Anonymous User March 17, 2005 (Article Rating: )


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

Anonymous User May 24, 2005 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


IIS and Web Administration Whitepapers Best Practices for SharePoint Backup & Recovery

Meeting Compliance Objectives in SharePoint

Improve SharePoint Performance for Remote Workers

Related Events 7 Ways To Get More From Your SharePoint Deployment Now

Check out our list of Free Email Newsletters!

IIS and Web Administration eBooks Web Filtering: An Assessment

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Related IIS and Web Administration Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement