Jstack命令
官方解释
jstack prints Java stack traces of Java threads for a given Java process or core file or a remote debug server. For each Java frame, the full class name, method name, ‘bci’ (byte code index) and line number, if available, are printed. With the -m option, jstack prints both Java and native frames of all threads along with the ‘pc’ (program counter). For each native frame, the closest native symbol to ‘pc’, if available, is printed.
OPTIONS
- -F
Force a stack dump when ‘jstack [-l] pid’ does not respond.- -l
Long listing. Prints additional information about locks such as list of owned java.util.concurrent ownable synchronizers.- -m
pr