Is there any command line tool for  monitoring the heap size usage of Java in CentOS?
Command Line Tool for monitoring Java Heap
command line;java
Use jps and jstack to learn more about Java processes. jstat can also be useful for Java statistics monitoring.