Displays thread information.
-
threads [monitor | dump]:
Command given to display thread information.
-
threads (no operands):
Each channel is shown. Under the manager, there is one thread for
each channel name [called a listener] (SOAP1 and filein). Each has
a set of threads for its message channel. For example, the filein
listener there are three message channels, called W.filein.1 and
so forth. The state of each thread is shown.
SOAP1:
Thr-HSOAP1 [runnable]
Thr-FSOAP1 [timed_waiting]
filein:
W.filein.1 [timed_waiting]
W.filein.2 [timed_waiting]
W.filein.3 [timed_waiting]
manager:
console0 [blocked]
console1 [runnable]
console2 [blocked]
console3 [blocked]
console4 [blocked]
SOAP1 [timed_waiting]
filein [timed_waiting]
- thread monitor [on|off] controls
a check of deadlocked threads. Use of this command can significantly
affect system performance. To monitor deadlocks, first issue the thread
monitor on command. Once issued, the thread deadlock monitor
is activated. Then issue thread monitor to check for deadlocks.
When you are finished with the testing, set the monitor off.
- Thread dump issues
a trace dump of every thread except the console thread. It is useful
for tracking down problems, but is of limited use outside of iWay development.