QUOTE:
最初由 Kamus 发布
前天在上海的咖啡馆
说起QSlice的Bug
eygle说有替代品
不过居然卖关子死活不说是什么
哼哼
那就Google
结果找到PStat
还是微软的resouce kit中的东西
QSlice是GUI的,而PStat是命令行的
...
If I remember right, David Solomon's "Inside Windows NT" (may have newer version now called something like "Inside Windows 2000" etc) has a chart comparing the capabilities of various Windows process monitoring tools but it's missing Process Explorer (from sysinternals.com). Each tool shows a subset of process and thread information. But in the chart, it looks like the kernel debugger gives the most complete information. For instance, what a thread is actually waiting on is only available in that tool. Resource kit tlist does a pretty good job. It tells you what state a thread is in.
Since kernel debugger is not easy to use (normally it requires a serial cable connected from a separate PC), I highly recommend Sysinternals's Process Explorer. It shows pretty much everything you can get by doing Win32 programming.
Some information is simply not available in Windows. For instance, a thread has no name. Therefore you can't tell which thread is SMON or PMON from outside Oracle (on UNIX you can ps -ef | grep pmon). But if you insist, I can tell you a trick by using bindview.com's strace utility.
Yong Huang