java tools: jstack

时间:2022-07-18 20:14:32

SYNOPSIS

jstack [ option ] pid
click here to see other detail

If the given process is running on a 64-bit VM, you may need to specify the -J-d64 option, e.g.:

jstack -J-d64 -m pid

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
prints mixed mode (both Java and native C/C++ frames) stack trace.