How do you monitor memory usage of java threads.
It helps you track the internal memory usage running java processes
Use opensource jvmtop – https://github.com/patric-r/jvmtop
Installation is simple
Download
https://github.com/patric-r/jvmtop/releases/download/0.8.0/jvmtop-0.8.0.tar.gz
Untar
tar -xvz jvmtop-0.8.0.tar.gz
set JAVA_HOME in the script – tip: Look for tools.jar in the lib folder
export JAVA_HOME=/home/admin/java/jdk1.6.0_31/
Start
sh jvmtop.sh