Class TTop

java.lang.Object
org.jline.builtins.TTop

public class TTop extends Object
A terminal-based thread monitoring tool similar to the 'top' Unix command.

This class provides a real-time view of thread activity in the JVM, displaying information such as thread states, CPU usage, blocking, and waiting statistics. Features include:

  • Sortable thread list with multiple metrics
  • Customizable display columns
  • Interactive navigation and filtering
  • System resource statistics
  • Thread state visualization

The implementation provides a terminal UI for monitoring thread activity, which can be useful for diagnosing performance issues and thread contention.

TODO: option modification at runtime (such as implemented in less) is not currently supported TODO: one possible addition would be to detect deadlock threads and display them in a specific way