Thread command

  • Thread ID Displays stack information about a thread

    image-20210228165931712
  • Thread-n Displays the busiest threads

image-20210228170053599
  • Thread-b finds the thread currently blocking another thread

    image-20210228170212626

jad

  • Decompile class files online

    image-20210228170723996

stack

  • Look at the method call chain

    image-20210228170844390

watch

  • Observe the argument and return value of the method. The effect is the same as that of the -f argument

    image-20210228171641239
  • Observe the method input

    image-20210228171718747
  • Observe the return value at the end of the method

    image-20210228171836368
  • Observe the return value of the exception thrown by the method

    image-20210228171914019
  • Observe the return value at the end of the method, specifying the depth of view with the -x argument

    image-20210228172043331
  • Observe abnormal information

    image-20210228172217155
  • Filter according to the input parameter

    image-20210228172314715
  • Filter by method execution time

    image-20210228172504245
  • View object property values

    image-20210228172814612

monitor

  • -c indicates the statistical period

    image-20210228173844375

trace

  • Prints the time taken for method calls

    image-20210228174342736
  • Input method Time Includes JDK methods

    image-20210228174454663
  • Filter by time

    image-20210228174621063