Make delicious recipes!

Thread and memory monitoring


JConsole is a free tool usually shipped with the JDK.
It is slightly less powerful than Visual VM but is found more frequently installed with Java.
If you have simple monitoring needs, just use whatever is available.


A trial-based tool worth mentioning here is AppDynamics Lite
Its a paid solution but can be tried for free.
It offers several features over JConsole and Visual VM like:
  1. Application Flow Diagram
  2. Call Graph Analysis
  3. Error/Exception Analysis
  4. SQL statement / No-SQL visibility
One thing missing in this tool is CPU/Memory/Heap Analysis.
The same is present in both JConsole and Visual VM.
So, use whatever is required for your needs.



jps and jstack are great tools to perform Thread Dump Analysis





Like us on Facebook to remain in touch
with the latest in technology and tutorials!


Got a thought to share or found a
bug in the code?
We'd love to hear from you:

Name:
Email: (Your email is not shared with anybody)
Comment:

Facebook comments:

Site Owner: Sachin Goyal