Install Jstack On Ubuntu < Editor's Choice >
Use the jps command (also part of the JDK) or ps .
Example output:
On Ubuntu, jstack is not installed by default—only the Java Runtime Environment (JRE) usually is. To get jstack , you must install the , not just the JRE. install jstack on ubuntu