Thread monitoring

In order to help monitor system activities, the "Thread Info" link is added to the Admin page of Interact runtime user interface. The Thread Info link displays the threads that currently run in the application server hosting this runtime instance with the following information.
  • ID: ID of this thread.
  • Thread Name: Name of this thread.
  • Alive: Specifies whether this thread is alive.
  • Demon: Specifies whether this thread is a demon thread.
  • CPU Time: The total CPU time in milliseconds this thread has consumed.
  • User Time: The total user CPU time in milliseconds this thread has consumed.
  • Wait Time: The total time in milliseconds this thread has spent in waiting state.
  • Wait Count: The number of occurrence this thread is put into waiting state.
  • Block Time: The total time in milliseconds this thread is in blocked state.
  • Block Count: The number of occurrences this thread is put into blocked state.
  • State: The current state of this thread.
  • Waited Lock: The lock this thread is waiting for. It is empty if it is not waiting for any lock.
  • Held Monitors: The monitor (lock) this thread is currently holding.
  • Stack Trace: The current stack trace of this thread. By default. it only displays the top entry, and clicking it expands to show the full stack.