October 2018
Beginner
220 pages
5h 33m
English
JStack is a Java tool that prints a stack trace for a given process. This tool can be used along with JPS. JStack provides insight into multiple thread dumps out of the Java process to help developers understand detail status and thread information aside from log outputs. To run JStack, you need to know the process number. Once you know it, you can simply call the following:
hadoop@base0:/$ jstack <pid>
Note that option -F in particular can be used for Java processes that are not responding to requests. This option will make your life a lot easier.
Read now
Unlock full access