SystemService level thread monitoring

Does anybody know how to monitor wM system and service thread counts in wM at the OS level - i.e w/o using a wM service? I can write a shell script to do so; however, I’m not sure if/where I can get these parameters.

One time I had a problem with Windows threads and the client called Microsoft support for help. The support person recommended a free software from www.sysinternals.com. I was able to monitor what files were accessed, see the PID in the threads, and gather tons of good debugging info.
Note, I don’t work for Microsoft, Sysinternals, or webMethods.

For Unix threads, you might want to use GDB.

Well, if you just want to view a current stack trace in the JVM running webMethods follow this link: http://developer.java.sun.com/developer/technicalArticles/Programming/Stacktrace/

To gain a view of the processes that are handling the Java thread would really begin with accessing a process list …

Nick