用于检索进程统计信息的 WinDbg 命令是什么
- 手柄数量,
- 线程数,
- 内存消耗,
- CPU消耗,
- 等等
从类型的内存转储文件.mdmp
?
用于检索进程统计信息的 WinDbg 命令是什么
从类型的内存转储文件.mdmp
?
load the dump in windbg.
1.) ~* - gives all the threads in loaded process and their stacks.
2.) !runaway - gives execution time for individual threads
3.) !handle - lists all the handles of the application
如果是完整的内存转储,您可以使用以下方法获取内存和堆信息:
1.) !address <>
2.) !heap
获得地址后,您需要转储单个地址/块以查看内存信息。
内存消耗和 CPU 消耗计数器不是迷你转储的一部分。#1 中的信息应该足以让您了解导致崩溃的违规呼叫。